Odd Logon Failure with Enterprise Libraries Exception Handler
-
I am using version 3.1 of Enterprise Libraries and used the EntLibConfig app to configure my logging options. I set it up to send me an email if an exception occurs. I am doing this to allow Ent Lib to handle the exception:
//write to Enterprise Libraries bool rethrow = ExceptionPolicy.HandleException(ex, "Clerical Exception Policy"); if (rethrow) throw ex;
What I get is an error coming back saying 'Logon failure: unknown user name or bad password' The exception appears to be when it calls GetExceptionPolicy. However, I am not doing anything, or shouldn't be doing anything, that requires a username and password. Inside the EntLibConfig application I set the 'RequirePermission' flag to False under the Exception Handling section. Any idea's what could be causing this? I did try using impersonation inside my web.config and no luck. Thought maybe the ASP.Net account didn't have permission to do something. Thanks.