<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to load proxy in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693888#M64503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link, Kelly.&amp;nbsp; Unfortunately, everything that the article suggests has already been implemented.&amp;nbsp; Just to clarify, we're hosting the application on Server 2008 and will be accessed with Windows 7 machines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something else that could cause the issue.&amp;nbsp; The Website itself is not under C:\inetpub\wwwroot.&amp;nbsp; It's located on another drive on the server and set as another website in IIS.&amp;nbsp; So, in IIS7.5, under the "Sites" folder, there's "Default Web Site" and "MyWebSite". It's the "MyWebSite" that's being accessed, but the ArcGIS folder is located in the "Default Web Site".&amp;nbsp; This doesn't seem to bother the Map Services for anything else, but I wonder if the proxy is having trouble with this.&amp;nbsp; I am setting the proxyUrl in the Javascript to the absolute path though so I didn't think it'd have that much trouble.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Sep 2010 13:02:17 GMT</pubDate>
    <dc:creator>WilliamKimrey</dc:creator>
    <dc:date>2010-09-10T13:02:17Z</dc:date>
    <item>
      <title>Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693886#M64501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Got a very strange problem here.&amp;nbsp; We've moved a website to a new server which has ArcServer10.&amp;nbsp; So I had to set up the proxy server again.&amp;nbsp; I've set it up exactly the same way that it was set up on the old server, but for whatever reason it's not working properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's what's happening:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; I click on a map that get the mapPoint and places a graphic on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp; I use a GeometryServer to create a buffer around that point and add that to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp; I use the resulting polygon to query one of the map layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The QueryTask is what's failing, but this is the error that it keeps giving me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Unable to load http//webserver/proxy.ashx?&lt;/SPAN&gt;&lt;A href="http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query"&gt;http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query&lt;/A&gt;&lt;SPAN&gt; status:500"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I tell the QueryTask AND the proxy to point to the old server, everything works fine which tells me that there's nothing wrong with the way the tasks are set up or getting the buffer back from the GeometryService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing that's different about the new setup vs. the old setup is that the new setup is ArcServer10 and that we've enabled Security for GIS Services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some setting for the proxy.confix or proxy.ashx that I need to set to use the secure services?&amp;nbsp; Or is there something similar i need to do in code or on IIS7.5?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas or suggestions would be a great help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 19:45:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693886#M64501</guid>
      <dc:creator>WilliamKimrey</dc:creator>
      <dc:date>2010-09-09T19:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693887#M64502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Will,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've seen issues with the proxy on IIS7 if the ASP.NET 'Windows feature' is not enabled. Here's a link to a Microsoft Knowledge Base article that explains how to enable this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/aa964620.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa964620.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 23:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693887#M64502</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2010-09-09T23:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693888#M64503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link, Kelly.&amp;nbsp; Unfortunately, everything that the article suggests has already been implemented.&amp;nbsp; Just to clarify, we're hosting the application on Server 2008 and will be accessed with Windows 7 machines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something else that could cause the issue.&amp;nbsp; The Website itself is not under C:\inetpub\wwwroot.&amp;nbsp; It's located on another drive on the server and set as another website in IIS.&amp;nbsp; So, in IIS7.5, under the "Sites" folder, there's "Default Web Site" and "MyWebSite". It's the "MyWebSite" that's being accessed, but the ArcGIS folder is located in the "Default Web Site".&amp;nbsp; This doesn't seem to bother the Map Services for anything else, but I wonder if the proxy is having trouble with this.&amp;nbsp; I am setting the proxyUrl in the Javascript to the absolute path though so I didn't think it'd have that much trouble.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 13:02:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693888#M64503</guid>
      <dc:creator>WilliamKimrey</dc:creator>
      <dc:date>2010-09-10T13:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693889#M64504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's an update to this topic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm almost positive that what is failing is my QueryTask when I'm passign a buffer result as the geometry.&amp;nbsp; So, i took a step back and incremented my buffer in steps and sure enough after it got big enough, the query task failed.&amp;nbsp; This leads me to believe that there are too many rings being passed as the geometry of the Query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, instead of using the buffer to query, I'm using the Extent of the buffer.&amp;nbsp; This is a temporary fix at best because it does return results that are outside of the buffer, but for now this is acceptable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would still like to know the exact reason why this is now failing in Javascript 2.0 (was working fine in 1.6).&amp;nbsp; Is it the proxy?&amp;nbsp; is it the GeometryService? the QueryTask?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I mainly need to know if this is the fault of the proxy or not so that I'll know for future applications and if it is the proxy, how to either fix it, or configure the proxy to work properly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Sep 2010 18:43:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693889#M64504</guid>
      <dc:creator>WilliamKimrey</dc:creator>
      <dc:date>2010-09-15T18:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693890#M64505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;not sure if this has been resolved, but check your MIME types in IIS, add ashx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 11:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693890#M64505</guid>
      <dc:creator>AaronNash</dc:creator>
      <dc:date>2012-04-13T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693891#M64506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was getting the same error. What helped for me was editing the proxy.config file. It has an option to limit the "target" services to a list mentioned in the config file, or not: &amp;lt;ProxyConfig mustMatch="false"&amp;gt;. If true, only services that are listed are available for access through the proxy. If false, all url's are valid. So either change this option, or add your targeted service to the list.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 12:17:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693891#M64506</guid>
      <dc:creator>AndreasHoogeveen</dc:creator>
      <dc:date>2012-09-17T12:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693892#M64507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did anybody get the solution for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also getting the same 500 error and if I try to goto the &lt;/SPAN&gt;&lt;A href="http://domainname/proxy.proxy.ashx"&gt;http://domainname/proxy.proxy.ashx&lt;/A&gt;&lt;SPAN&gt; it gives me Runtime Error, Server Error in '/' Application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this right? I have deployed the proxy.ashx but not sure where I am going wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using it for print task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 18:38:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693892#M64507</guid>
      <dc:creator>SmaranHarihar</dc:creator>
      <dc:date>2012-09-23T18:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693893#M64508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Did anybody get the solution for this?&lt;BR /&gt;&lt;BR /&gt;I am also getting the same 500 error and if I try to goto the &lt;A href="http://domainname/proxy.proxy.ashx"&gt;http://domainname/proxy.proxy.ashx&lt;/A&gt; it gives me Runtime Error, Server Error in '/' Application.&lt;BR /&gt;&lt;BR /&gt;Is this right? I have deployed the proxy.ashx but not sure where I am going wrong?&lt;BR /&gt;&lt;BR /&gt;I am using it for print task.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Check out the file proxy.config. Like I described above, you can provide the URLs for which the proxy is valid in the proxy.config; or specify that all URLs are valid ("mustmatch=false"). The fact that you get a 500 if you type in the url as you described, doesn't neccesarily mean that the proxy doesn't work as it should. Try entering a target URL after the "proxy.ashx", such as [url]&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://domainname/proxy/proxy.ashx?http://www.google.com[url]" rel="nofollow" target="_blank"&gt;http://domainname/proxy/proxy.ashx?http://www.google.com[url]&lt;/A&gt;&lt;SPAN&gt; and see what happens...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 18:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693893#M64508</guid>
      <dc:creator>AndreasHoogeveen</dc:creator>
      <dc:date>2012-09-23T18:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693894#M64509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Check out the file proxy.config. Like I described above, you can provide the URLs for which the proxy is valid in the proxy.config; or specify that all URLs are valid ("mustmatch=false"). The fact that you get a 500 if you type in the url as you described, doesn't neccesarily mean that the proxy doesn't work as it should. Try entering a target URL after the "proxy.ashx", such as [url]http://domainname/proxy/proxy.ashx?http://www.google.com[url] and see what happens...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;It gives me a Runtime Error. You can see it yourself, &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://msgist2011.grd.arizona.edu/proxy/proxy.ashx?http://www.google.com" rel="nofollow" target="_blank"&gt;http://msgist2011.grd.arizona.edu/proxy/proxy.ashx?http://www.google.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 18:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693894#M64509</guid>
      <dc:creator>SmaranHarihar</dc:creator>
      <dc:date>2012-09-23T18:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693895#M64510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It gives me a Runtime Error. You can see it yourself, &lt;A href="http://msgist2011.grd.arizona.edu/proxy/proxy.ashx?http://www.google.com"&gt;http://msgist2011.grd.arizona.edu/proxy/proxy.ashx?http://www.google.com&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error you provided shows that the webserver is configured to not show the original error. Can you try to access the URL while working on the webserver (through remote desktop connection)? If you can, you will see a more detailed error, describing the actual problem. Besides that: can you take a look at the proxy.config and see if the mustmatch option is set to false or that the service you are trying to access is mentioned in the list with services?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2012 19:00:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693895#M64510</guid>
      <dc:creator>AndreasHoogeveen</dc:creator>
      <dc:date>2012-09-23T19:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693896#M64511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;just to chime in, i have seen problems on my own machine specifically forwarding content from google (even when mustMatch is set to "false" in the proxy).&amp;nbsp; yahoo.com and esri.com seem to provide consistent results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://domainname/proxy/proxy.ashx?http://www.google.com"&gt;http://domainname/proxy/proxy.ashx?http://www.google.com&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;fails intermittently&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://domainname/proxy/proxy.ashx?http://www.yahoo.com"&gt;http://domainname/proxy/proxy.ashx?http://www.yahoo.com&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;succeeds consistently&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 18:04:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693896#M64511</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-09-24T18:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693897#M64512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://domainname/proxy/proxy.ashx?http://www.yahoo.com"&gt;http://domainname/proxy/proxy.ashx?http://www.yahoo.com&lt;/A&gt;&lt;BR /&gt;succeeds consistently&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using yahoo.com but it continues to show the same error. Here is the link, &lt;/SPAN&gt;&lt;A href="http://msgist2011.grd.arizona.edu/proxy/proxy.ashx?http://www.yahoo.com"&gt;http://msgist2011.grd.arizona.edu/proxy/proxy.ashx?http://www.yahoo.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The error you provided shows that the webserver is configured to not show the original error. Can you try to access the URL while working on the webserver (through remote desktop connection)? If you can, you will see a more detailed error, describing the actual problem. Besides that: can you take a look at the proxy.config and see if the mustmatch option is set to false or that the service you are trying to access is mentioned in the list with services?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did see that my "mustmatch" was set to 'true', so I changed it to 'false', but it seems to still give me the error Unable to Load Proxy. I have also included the service that I wish to access. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, whenever I access my wwwroot folder on the server by mapping it to my system (my school system), I simply place my html file in the root folder and I can view them on the browser. Meaning I do not need to goto the IIS Manager and deploy it as an application, it happens as I move the app folder into the root. So i am thinking that, this particular proxy page is also being deployed as a HTML Page rather than 'Script Only' like in the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/images/createWebApp.png"&gt;image&lt;/A&gt;&lt;SPAN&gt; (as shown in the esri resource page). I am confused on that, so I am trying to get in touch with my admin. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the mean time I tried to do the same thing by adding the proxy to my wwwroot on my local machine and even it was not able to connect to the google.com but it did give a detailed error. Here is the html file, &lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/s/7qnwhx0cxw7qqrj/test.html"&gt;https://www.dropbox.com/s/7qnwhx0cxw7qqrj/test.html&lt;/A&gt;&lt;SPAN&gt; (try to download it and then open as the link will only give you the HTML tags). Does this help?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 22:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693897#M64512</guid>
      <dc:creator>SmaranHarihar</dc:creator>
      <dc:date>2012-09-24T22:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693898#M64513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;not sure if this has been resolved, but check your MIME types in IIS, add ashx&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i think TOVernon was on the right track.&amp;nbsp; a 404.3 error ("It is possible that a handler mapping is missing.") usually indicates that you don't have a script handler in place for .ashx files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in IIS, under Handler Mappings, do you see entries for "*.ashx"?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 22:32:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693898#M64513</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-09-24T22:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693899#M64514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;i think TOVernon was on the right track.&amp;nbsp; a 404.3 error ("It is possible that a handler mapping is missing.") usually indicates that you don't have a script handler in place for .ashx files.&lt;BR /&gt;&lt;BR /&gt;in IIS, under Handler Mappings, do you see entries for "*.ashx"?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17948[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how my Handler Mapping looks. Should I "Add Managed Handler" and enter the *.ashx to it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 04:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693899#M64514</guid>
      <dc:creator>SmaranHarihar</dc:creator>
      <dc:date>2012-09-25T04:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693900#M64515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yup.&amp;nbsp; you're definitely missing handlers for .ashx files.&amp;nbsp; if you follow the steps in the IIS install requirements for ArcGIS Server article below to add additional IIS components, it should help you get your proxy up and running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vista/Windows 7 IIS requirements &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/install_guide/arcgis_server_net_install_guide/index.html#//00890000000m000000.htm"&gt;http://help.arcgis.com/en/arcgisserver/10.0/install_guide/arcgis_server_net_install_guide/index.html#//00890000000m000000.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the specific items which will help are included in WWW Services &amp;gt; Application Development Features&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .NET Extensibility&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASP.NET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISAPI Extensions&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ISAPI Filters&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 17:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693900#M64515</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-09-25T17:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693901#M64516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Slight thread-highjack, but with this post active I felt this didn't deserve its own topic...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had set up a proxy page on my local machine, and it had been working fine for the past two weeks.&amp;nbsp; I've been working with IT here to try to get the proxy page set up on our servers, and when they were having issues they sent someone down to view the proxy page on my machine to see how I set mine up, and guess what?&amp;nbsp; It no longer works!&amp;nbsp; I have changed absolutely nothing about my proxy page or my IIS settings; .ashx is enabled in handler mappings, mustmatch is set to false, but any time I try to access a URL through the proxy page, I'm getting an error that says "Proxy.config file does not exist at application root, or is not readable."&amp;nbsp; - which is BS, because the proxy.config file is definitely there and nothing about the file or the directory it sits in has been touched.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I turned on debugging and you can see the results attached.&amp;nbsp; Any ideas as to what's going on here?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 13:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693901#M64516</guid>
      <dc:creator>BrettGreenfield__DNR_</dc:creator>
      <dc:date>2012-09-26T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693902#M64517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was having similar issues - 500 server errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I finally did as was suggested here, loaded the proxy page with a valid URL parameter - I did it on the server so I got the real error messages - I got&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&lt;STRONG&gt; &lt;SPAN style="font-family:Arial;"&gt;Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

&lt;/SPAN&gt;&lt;STRONG&gt;Source File: &lt;SPAN style="font-family:Arial;"&gt;D:\zzzz\test\web.config&lt;/SPAN&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Line: &lt;SPAN style="font-family:Arial;"&gt;4&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The web config seems to have been generated from Visual studio when I tried the debugger from there - it isn't required in any way by my site, as it is purely javascript.&amp;nbsp; deleting this file totally clears it all up and it works, Fiddler is showing nice clean requests going via the proxy page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG style="font-family: Arial;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693902#M64517</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2021-12-12T05:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693903#M64518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Slight thread-highjack, but with this post active I felt this didn't deserve its own topic...&lt;BR /&gt;&lt;BR /&gt;I had set up a proxy page on my local machine, and it had been working fine for the past two weeks.&amp;nbsp; I've been working with IT here to try to get the proxy page set up on our servers, and when they were having issues they sent someone down to view the proxy page on my machine to see how I set mine up, and guess what?&amp;nbsp; It no longer works!&amp;nbsp; I have changed absolutely nothing about my proxy page or my IIS settings; .ashx is enabled in handler mappings, mustmatch is set to false, but any time I try to access a URL through the proxy page, I'm getting an error that says "Proxy.config file does not exist at application root, or is not readable."&amp;nbsp; - which is BS, because the proxy.config file is definitely there and nothing about the file or the directory it sits in has been touched.&lt;BR /&gt;&lt;BR /&gt;I turned on debugging and you can see the results attached.&amp;nbsp; Any ideas as to what's going on here?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hi Brett&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just see your post now , i hope that it's not too late but you must verify the MapPath in GetFilename function , if the proxy is under a subfolder it will not be loaded you must put&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; return context.Server.MapPath("~/subfolder/proxy.config");&lt;/PRE&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;public static string GetFilename(HttpContext context)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return context.Server.MapPath("~/proxy.config");
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:12:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693903#M64518</guid>
      <dc:creator>hcgis</dc:creator>
      <dc:date>2021-12-12T05:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy--- very Urgent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693904#M64519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;Got a very strange problem here.&amp;nbsp; We've moved a website to a new server which has ArcServer10.&amp;nbsp; So I had to set up the proxy server again.&amp;nbsp; I've set it up exactly the same way that it was set up on the old server, but for whatever reason it's not working properly.&lt;BR /&gt;&lt;BR /&gt;Here's what's happening:&lt;BR /&gt;1)&amp;nbsp; I click on a map that get the mapPoint and places a graphic on the map.&lt;BR /&gt;2)&amp;nbsp; I use a GeometryServer to create a buffer around that point and add that to the map.&lt;BR /&gt;3)&amp;nbsp; I use the resulting polygon to query one of the map layers.&lt;BR /&gt;&lt;BR /&gt;The QueryTask is what's failing, but this is the error that it keeps giving me.&lt;BR /&gt;&lt;BR /&gt;"Unable to load http//webserver/proxy.ashx?&lt;A href="http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query"&gt;http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query&lt;/A&gt; status:500"&lt;BR /&gt;&lt;BR /&gt;If I tell the QueryTask AND the proxy to point to the old server, everything works fine which tells me that there's nothing wrong with the way the tasks are set up or getting the buffer back from the GeometryService.&lt;BR /&gt;&lt;BR /&gt;The only thing that's different about the new setup vs. the old setup is that the new setup is ArcServer10 and that we've enabled Security for GIS Services.&lt;BR /&gt;&lt;BR /&gt;Is there some setting for the proxy.confix or proxy.ashx that I need to set to use the secure services?&amp;nbsp; Or is there something similar i need to do in code or on IIS7.5?&lt;BR /&gt;&lt;BR /&gt;Any ideas or suggestions would be a great help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Will&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;William,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a similar issue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have many secure mapservices with token and are loaded perfectly to the map without problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem appears when performing a queytask or identifytask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the mapservices are loaded by the proxy and i can access the layers like :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;http//webserver/proxy.ashx?&lt;/SPAN&gt;&lt;A href="http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0"&gt;http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But i canno't access the query page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;http//webserver/proxy.ashx?&lt;/SPAN&gt;&lt;A href="http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query"&gt;http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Please ,is there any solution for this, It's very urgent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 10:28:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693904#M64519</guid>
      <dc:creator>hcgis</dc:creator>
      <dc:date>2013-03-22T10:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to load proxy--- very Urgent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693905#M64520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;William,&lt;BR /&gt;I have a similar issue&lt;BR /&gt;i have many secure mapservices with token and are loaded perfectly to the map without problem&lt;BR /&gt;The problem appears when performing a queytask or identifytask&lt;BR /&gt;the mapservices are loaded by the proxy and i can access the layers like :&lt;BR /&gt;http//webserver/proxy.ashx?&lt;A href="http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0"&gt;http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But i canno't access the query page:&lt;BR /&gt;http//webserver/proxy.ashx?&lt;A href="http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query"&gt;http://webserver/ArcGIS/rest/services/Basemap/Mapserver/0/query&lt;/A&gt;&lt;BR /&gt;Please ,is there any solution for this, It's very urgent&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, i forgot to mention that i use https for all urls&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 10:35:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unable-to-load-proxy/m-p/693905#M64520</guid>
      <dc:creator>hcgis</dc:creator>
      <dc:date>2013-03-22T10:35:19Z</dc:date>
    </item>
  </channel>
</rss>

