AnsweredAssumed Answered

request failed with HTTP status 401: Unauthorized

Question asked by pascal16 on Mar 20, 2012
Latest reply on Mar 20, 2012 by pascal16
After upgrading ArcGIS Server version 9 to version 10 my web application throws an ???Unauthorized??? error.
The line in code which throws the error occurs when it tries get map name.

NJTA_Portal_MapServer mapServer = new NJTA_Portal_MapServer(); string mapName = mapServer.GetDefaultMapName(); // <-- Unauthorized occurs on this line.


- Using .NET Framework 2.0 
- Able to view the wsdl in the browser

I performed the upgrade in my dev environment and did not receive this error however, when I performed the upgrade in production it throws the error.