I am getting the following error when attempting to write to my database log via the logging application block:
Could not load type 'Microsoft.Practices.EnterpriseLibrary.Logging.Database.Configuration.FormattedDatabaseTraceListenerAssembler' from assembly 'Microsoft.Practices.EnterpriseLibrary.Logging.Database, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null'.
I have loaded these assemblies:
Is anyone else having a similar problem?
You need to make sure you have two other assemblies:
ObjectBuilder is used by EnterpriseLibrary to assemble objects and the Logging Application Block uses the Data Access Application Block to log to the database.
Microsoft MVP C#