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

StackOverflow https://stackoverflow.com/questions/16665908

Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top