Topics: Enterprise Library Core, Exception Handling Application Block
Jul 29, 2011 at 11:12 PM

I'm trying to instantiate the ExceptionManager using:

ExceptionManager exManager = Microsoft.Practices.EnterpriseLibrary.Common.Configuration.EnterpriseLibraryContainer.Current.GetInstance<ExceptionManager>();

I'm getting an error:

Activation error occured while trying to get instance of type ExceptionManager, key ''''.

I have three instances of app.config for different projects and the one I want it to look at is in a class library. I've pointed the other two to that one as a FileConfiguration and I'm still getting this error.


Aug 1, 2011 at 8:57 AM

This is the same post as http://entlib.codeplex.com/discussions/267115.


Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us