« Previous Next »

Thread: Login name appears locally but not on server

Last post 08-19-2009 10:37 AM by tomkmvp. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 08-18-2009, 4:51 PM

    • adahne
    • Not Ranked
    • Joined on 08-15-2007, 8:40 PM
    • Posts 2

    Login name appears locally but not on server

     I have a web form that uses directory services to auto populate a text box with the user's fullname. It works is I preview it locally, but when I launch the form from the server it doesn't show. I have anonymous access disabled and I believe all the accounts needed have sufficient access. What could I be missing?

  • 08-19-2009, 4:05 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,417

    Re: Login name appears locally but not on server

    You have anonymous access disabled, but what authentication is used? If you are using Windows authentication, please try to enable ASP.NET impersonation.

    Also you need to add some logging to your application to make sure every piece of your code works as expected.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 08-19-2009, 10:24 AM In reply to

    • adahne
    • Not Ranked
    • Joined on 08-15-2007, 8:40 PM
    • Posts 2

    Re: Login name appears locally but not on server

     I am using Windows authentication and

    <identity impersonate="true" />
    Logging isn't showing any problems.
     
    Thanks lextm 

  • 08-19-2009, 10:37 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,237
    • IIS MVPs

    Re: Login name appears locally but not on server

     Are you using ASP.NET?  You may get better help with this at http://forums.asp.net/ ...

Page 1 of 1 (4 items)
Microsoft Communities