Error authorizing user - Value does not fall within the expected range.

447
2
04-20-2011 04:56 AM
PrashantKhanal
New Contributor
Hello All,

I am occassionaly getting Invalid Url response in the silverlight app that uses the ArcGIS REST API. When I check the rest log. I see the following error:

Log Entry : 4/20/2011 7:44:54 AM
  ERROR:Error authorizing user
http://localhost/ArcGIS/rest/services/NE/MapServer/3?f=json&token=atwJMG3m1PXkuze7-zC27Hn01hWS_-OAlB...
  :Value does not fall within the expected range.

The error is unpredictable. Once I reload the app, everything works fine. I only get this error occassionaslly.

If i use the above url in the browser directly, I see a valid json response.

Any idea what is going on?

I am using ArcGIS server 9.3.1 with service pack 2 with Quality Improvement Patch.
Reply
0 Kudos
2 Replies
srinivasandeivendran
New Contributor
We are also facing similar kind of issue. Did you find the root cause of this problem? Pls share.
Reply
0 Kudos
PrashantKhanal
New Contributor
This link will give you detail explaination on the root cause of the problem.

http://forums.arcgis.com/threads/29147-ESRI.ArcGIS.Rest-Threading-bugs-on-Windows

We discovered that it is the threading issue in the ESRI REST API that is causing this problem.
Reply
0 Kudos