AnsweredAssumed Answered

Proxy on Localhost vs Dev Server

Question asked by cwholmes on Jul 17, 2015
Latest reply on Aug 6, 2015 by cwholmes

Hello everyone,

 

I have an application which is running fine when I use it from my localhost. When I move it to a development server it does not work. The only change I am making with the file when I move it to the dev server is this one line:

  • from:

          esriConfig.defaults.io.proxyUrl = "http://localhost/proxy/proxy.ashx";

  • to:

          esriConfig.defaults.io.proxyUrl = "http://ipcds0001/proxy/proxy.ashx";

 

ipcds0001 is the name of the dev server. I'm not certain if I am referencing the location of proxy.ashx correctly? Nor am I certain that I've done everything correctly in setting the proxy up correctly on the dev server. I used to have a bookmark to a good file on the esri site which showed all things that needed to be done in configuring the proxy, but that bookmark is not working anymore.

 

The dev server is Windows 2012 R2. I have copied the proxy folder into C:\inetpub\wwwroot\ and converted the proxy folder into an application pool.

 

When I try to access the file on the dev server from my pc, I get the attached error message in the console (console.png).

 

Any suggestions in troubleshooting this problem, greatly appreciated.

 

Chris

Attachments

Outcomes