1 Reply Latest reply: Mar 20, 2012 10:45 AM by pascal16

    request failed with HTTP status 401: Unauthorized

    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.


      [ATTACH=CONFIG]12860[/ATTACH]



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