User1720628292 posted
Hi ,
am creating one console app for sending mails. am using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll for handling exception in my code. but when i debug the code am getting this exception 'The policy with name 'Generic Exception' cannot be
found. Exception handling aborted.'. i didnt add any policy in my app.config.. version 5.0.414.0
i have added the following statement in configsection
<section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
if i remove the above statement am getting err like
activation err occurred while trying to get instance of type exception manager,key