Logon Failure: unknown user name or password. RRS feed

  • Question

  • User1937100610 posted

    I have successfully created a website that searches Active Directory using System.DirectoryServices. It works perfectly on the localhost.

    However, when I pubilish it to a Windows 2003 Server, I get the following error on the IE: System.Runtime.InteropServices.COMException (0x8007052e) Logon Failure: unknown user name or password.

    How can i do? Thanks a lot.

    Thursday, March 23, 2006 10:57 PM

All replies

  • User1354132231 posted
    I really recommend trying to understand your security context - the second post in this forum is intended to help understand this problem.  What happens here is that your security context is not delegated to remote resources when delegation is not setup or an NTLM bind happens for one or more reasons.  When you are using localhost, the client and server are the same, so delegation is not needed.  Read the second post for more information.

    Tuesday, March 28, 2006 8:05 PM