Thursday, November 20, 2008

Error: The type 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging' cannot be resolved. Please verify the spelling is correct or that the full type

Error: The type 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.

This error occurs when you work with Microsoft Exception and Logging block.

I got this error with VS2005 and Microsoft Exception and Logging 3.1.0.0,

I resolve this error while adding following reference into User Interface (where my app.config file exists)

Right click on the project and say Add Reference and select this reference from "EntLib3Src\App Blocks\bin" folder

Add Reference: "Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll"

Note: This folder create, when you install "Enterprise Library 3.1" in your system

http://www.microsoft.com/downloads/details.aspx?FamilyID=4c557c63-708f-4280-8f0c-637481c31718&displaylang=en