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