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.
Code: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.