Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 05, 2012 07:42 AM by VikasMore
Jan 05, 2012 07:42 AM|LINK
I am new to Ent Lib. I have started with ver 5, and with Exception block.
I get following error:
Activation error occured while trying to get instance of type ExceptionManager.
I have included all the necessary references.
i = 10;
j = 0;
res = i / j;
LabelShowMsg.Text = res.ToString();
LabelShowMsg.Text = ex.Message;
exmngr = EnterpriseLibraryContainer.Current.GetInstance<ExceptionManager>();
rethrow = exmngr.HandleException(ex, "TestEPolicy1");