0
votes
1answer
40 views

Error executing tool.: Layer “layer1” Unable to connect to map server

I am using the Configurable Javascript Viewer, and have only changed a couple of the configuration settings. One change I made was to use my own Export Web Map Task. In viewer.js, I changed: ...
0
votes
1answer
153 views

Arcgis basemap with proxy.ashx not loading correctly

I have a .Net application using the JavaScript API to draw a map. I use the proxy.ashx file to proxy requests to secure map services (dynamic tokens), configured in proxy.config. I added an entry into ...
2
votes
1answer
371 views

How to CORS enable ArcGIS Server 10.2.1 to Access REST Services without Using proxy.ashx?

Form the ENABLE-CORS.ORG I see that editing web.config is enough to CORS enable IIS7 <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> ...
1
vote
0answers
325 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...
1
vote
1answer
85 views

Is it possible to provide proxy.ashx for the other domain?

Usually, we use proxy.ashx for the same domain by this code. (working well.) esri.config.defaults.io.proxyUrl = "proxy.ashx"; esri.config.defaults.io.alwaysUseProxy = true; If the other domain ...
2
votes
2answers
144 views

How to ensure that only my application has access to ArcGIS Server services

I'm making a web map based on the ArcGIS Server JS API. How can I ensure that users must use my front-end to access the ArcGIS Server layers? That is, I want anyone visiting MyDomain.com/index.html ...
0
votes
0answers
80 views

ESRI reverse proxy setting

My application is running on https but my arcgis server is not running on https hence I configured revrse proxy on my webserver.Even though map loads but when I query the rest services the url I ...
2
votes
1answer
81 views

How to handle URLs longer that 2048 chars in JSAPI v2.7 and ArcGIS 10.2

In ArcGIS Server 9.3 and JavaScript API v2.4 there was need to set proxy.config in ASP.NET in order to handle requests to REST map services having more than 2048 characters in the URL as parameters. ...
2
votes
3answers
876 views

ESRI proxy page not working properly + CORS + cross domain scripting

I have set up a proxy page. I am using jsp version of proxy page. I have set up a server URL which will point to my Java. When I load the my page which the proxy URL has set in its html it will work ...
2
votes
1answer
565 views

About proxy in javascript api

I am new about Arcgis javascript API. While I am doing a sample application, I confused. I am analyzing this sample application. This application is using the ...
0
votes
1answer
238 views

How do I initialize the ArcGIS proxy via server side .NET code (C#)?

I know how to do this via JavaScript code: esri.config.defaults.io.proxyUrl = "../proxy.ashx"; But, how do I do this in .NET? I am very new to the GIS space.
5
votes
1answer
400 views

Unclear on proxy used for AJAX in Javascript

I do understand how the proxy helps in transferring the XMLHttpRequest between the ArcServer and the Server (IIS/Apache) but where I am confused is that the first time the Html Doc loads, doesn't the ...