Select to view content in your preferred language

USING THE PROXY URL NOT WORKING

2221
2
05-09-2013 03:00 PM
JuneAcosta
Frequent Contributor
I have added a proxy URL to the simple viewer template, but still can't see my services. I was on chat with an ESRI analyst for over an hour this morning, but still could not get it resolved. We verified the token by pasting this syntax in a browser:
http://<server>/arcgis/rest/services/publicAGS/trafficStatus/MapServer?token=_?????????? and it worked.

I still havent heard back from the Analyst, so I thought I would try to forum. BTW, Im using JSON for the map layers instead of webID.

The only thing that shows is the world street map from arcgis online. Firebug gives this error

dojo.io.script error

Error: Token Required
[Break On This Error] 

... the page to get source for: http://serverapi.arcgisonline.com/jsapi/arcgis/3.5c..

this is what we added in the index.html of the template:

//specify a proxy url if needed
      proxyurl :"http://<server>/proxypage_net/proxy.ashx"


Has anyone run into this issue? Or have any ideas what I might be doing wrong?
Tags (2)
0 Kudos
2 Replies
KellyHutchins
Esri Notable Contributor
Which browser are you using? IE? If so can you try it in Firefox or Chrome to see if it works there?
0 Kudos
JuneAcosta
Frequent Contributor
Kelly,

I tested in IE, FF, and chrome. The map failed in all 3 browsers. The Analyst I was working with left me a message to create a new token. I'll keep this forum posted.

thanks.
0 Kudos