Codie
Codie

Reputation: 474

A first chance exception of type 'System.DirectoryServices.Protocols.LdapException' occurred in System.DirectoryServices.Protocols.dll

I have an Asp.Net MVC 2 application with Windows Authentication enabled. Till yesterday, it was working fine. Today when I hit F5, I'm getting the exception. I googled but nothing helped. Any help?

Upvotes: 0

Views: 2650

Answers (1)

Codie
Codie

Reputation: 474

I was able get the actual exception by setting "Break when an exception is:" - checking "Thrown" for System.DirectoryServices.Protocols in Debug -> Exceptions menu in VS 2010. The error was, the AD Server was not reachable and credential were invalid.

Upvotes: 2

Related Questions