I am getting the below error when configuring the entlib 5.0 at WCF Config file.
Basically, I am testing the code from WCF Test Client (VS Express 2012 for Web).
Note: This is only with the Logging Application Block.
If I remove the looging app block, it works very well with Data and Exception block, but the moment I add the logging block, it give the below error at the following line of code:
Also, I am referring the dll from the default location C:\program files......\entlib 5.0\bin only.
An error occurred creating the configuration section handler for loggingConfiguration: Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified
Line of code giving error (As mentioned only on the apply of logging block)
public DataSet GetDataSet(string pstrProcedureName)
Database dbConnect = EnterpriseLibraryContainer.Current.GetInstance<Database>("DBConnectsystem");