secure map service url not loading

487
2
07-30-2012 10:51 AM
suhanatssuhanats
New Contributor
Hi,
I am using proxy to get token for secure map service
I have it to the point, where it gets the token and creates a url but the map service fails to load
I get a little error on the bottom left hand corner of the screen and when I click on that it shows the follwing error

Message: Syntax error
Line: 1
Char: 1
Code: 0
URI: http://localhost/proxy.ashx?https://gisserver/ArcGIS/rest/services/BaseMap/MapServer?f=json&dpi=96&t...

but if i just copy the URI and put it in the browser, I can see the rest interface page for that map service. whats wrong, why isn't it loading? If I am having a syntax error, where could it possibly be?
I am using javascript api version 2.8
Thanks!
0 Kudos
2 Replies
nicogis
MVP Frequent Contributor
Can you post your code javascript?
0 Kudos
suhanatssuhanats
New Contributor
Can you post your code javascript?


the map is loading now. having problems with legend symbols for secured map service.
they show as red cross in IE8 which I use, but show alright in every other browser like chrome, firefox, etc.
the base64 encoded image format doesn't display in IE. Can you suggest how this can be solved.
0 Kudos