Project Server 2007: The request failed with HTTP status 401: Unauthorized.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vbsramesh
    New Member
    • Jul 2008
    • 2

    Project Server 2007: The request failed with HTTP status 401: Unauthorized.

    Hi,

    i am ramesh working on MSPS 2007.i have created a webapplication( framework 2.0) with windows authentication. i am consuming MSPS web services provided by microsoft with windows authentication. its working fine in local box. i have uploaded the same to my dev server, i am trying to access same, i am getting this error "The request failed with HTTP status 401: Unauthorized."

    i have googled for the root cause, i have included PreAuthenticate , defaultcredinta ls, imperosnate =true in web.config.

    here i am attacing the code snippet of my code.

    Code:
     loginWindows.Url = baseUrl + ProjServerUrl;
                    loginWindows.PreAuthenticate = true;
                    loginWindows.Credentials = CredentialCache.DefaultCredentials;
                    if (loginWindows.Login()) logonSucceeded = true;
    i feel, there is some configuration settings to be done. my localbox have XP OS, and my server is 2003. IIS is 6.0


    i am serching this for more than 5 days, could you please anyone suggest the soultion. your help appreiciable.


    Thanks in advance
    ramesh
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    For a website you will need to use forms authentication. You allow anonymous authentication through IIS and then allow access to other sections through membership.

    Impersonate may be ok in a network, if the account is not an admin, but not in a website if it could work by you supplying account credentials.

    Comment

    • vbsramesh
      New Member
      • Jul 2008
      • 2

      #3
      Could you please explain in detail.

      thanks in advance
      ramesh

      Comment

      Working...