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.
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
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 am serching this for more than 5 days, could you please anyone suggest the soultion. your help appreiciable.
Thanks in advance
ramesh
Comment