Select to view content in your preferred language

Problem with proxy settings

3391
1
04-16-2013 08:38 AM
MaximPetroshenko
Deactivated User
Hello

I tried to use Services from remote computer with credentials (login and password), which I know. I made an application using Arcgis Viewer for SL. So I try to make secured service with proxy. According to your instructions here:
http://resources.arcgis.com/en/help/silverlight-viewer/concepts/index.html#/Adding_secured_services/...
http://resources.arcgis.com/en/help/silverlight-viewer/concepts/index.html#/Configuring_a_proxy/0177...
I made proxy application in my IIS (I validated it by proxy.ashx?ping).
My proxy.config:
<serverItem url="http://myservice/arcgis/rest/services"
                matchAll="false" 
                username="Myuser"
                password="Mypass"
                tokenUrl="http://myservice/arcgis/tokens"
                timeout="30" /> 

Then I try to coonect to http://myservice/arcgis/rest/services in Viewer SL, but i had an exception: "Unable to connect to http://myservice/arcgis/rest/services"
In fiddler:GET /proxy/proxy.ashx?http%3a%2f%2myservice%2farcgis%2frest%2finfo%3ff%3djson& HTTP/1.1 with 500 error

Could you tell me the reason of this? Or make more detailed instruction please?

Best regards
Max
0 Kudos
1 Reply
PaulDioguardo
Occasional Contributor

I'm having a similar issue. I have configured  the silverlight proxy page (for 3.3) per ESRI's instructions and confirmed with the ping url, but when adding a layer with the "use proxy" checked I get an "Unable to connect to https:// .... " error. I can connect via browser to the secured map services with the username/password, and can connect and login with secured services in the Silverlight Viewer authoring tool, but cannot get the proxy page working.

Can an ESRi staff member address these questions?

Thanks,

Paul

0 Kudos