<?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: Proxy page Issue after 10.1 Upgrade in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7349#M711</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I was looking into this more and found that if I debug the proxy.ashx (using visual studio) and run it on localhost (&lt;/SPAN&gt;&lt;A href="http://localhost:3274/appname/proxy.ashx"&gt;http://localhost:3274/appname/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;) I am able to use the proxy to navigate to the applyedits rest endpoint.&amp;nbsp; However, if I try to use the proxy from where the app sits on my server i get the error and cannot get to the applyEdits rest endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Summing it up...&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;This works...&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://localhost:3274/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits"&gt;http://localhost:3274/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This does not work and I get the error.&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://servername/websites/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits"&gt;http://servername/websites/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The proxy.ashx and proxy.config are saved in the same folder as the html page for the app.&amp;nbsp; Kind of at a loss as to what to check next.&amp;nbsp; As I mentioned in my first post, this only occurred after upgrading to server 10.1 so I think it might have to do with adding the port number (servername: 6080) to the service rest endpoint url.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 15:21:06 GMT</pubDate>
    <dc:creator>BrianLord1</dc:creator>
    <dc:date>2013-02-26T15:21:06Z</dc:date>
    <item>
      <title>Proxy page Issue after 10.1 Upgrade</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7348#M710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application that I have been working on for a while that implements editing using the attribute inspector.&amp;nbsp; The app was created using one of the local gov't templates and it included a proxy page.&amp;nbsp; Prior to upgrading to ArcGIS Server 10.1, the editing was working and I was not having any issues with the proxy page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After upgrading to 10.1, anytime the app needs to use the proxy page (editing or POST requests) I get a general error that says "NetworkError: 500 Internal Server Error".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas as to what might be causing this error?&amp;nbsp; As mentioned above, it only started occurring after the upgrade to 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 15:59:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7348#M710</guid>
      <dc:creator>BrianLord1</dc:creator>
      <dc:date>2013-02-25T15:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page Issue after 10.1 Upgrade</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7349#M711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I was looking into this more and found that if I debug the proxy.ashx (using visual studio) and run it on localhost (&lt;/SPAN&gt;&lt;A href="http://localhost:3274/appname/proxy.ashx"&gt;http://localhost:3274/appname/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;) I am able to use the proxy to navigate to the applyedits rest endpoint.&amp;nbsp; However, if I try to use the proxy from where the app sits on my server i get the error and cannot get to the applyEdits rest endpoint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Summing it up...&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;This works...&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://localhost:3274/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits"&gt;http://localhost:3274/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This does not work and I get the error.&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://servername/websites/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits"&gt;http://servername/websites/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The proxy.ashx and proxy.config are saved in the same folder as the html page for the app.&amp;nbsp; Kind of at a loss as to what to check next.&amp;nbsp; As I mentioned in my first post, this only occurred after upgrading to server 10.1 so I think it might have to do with adding the port number (servername: 6080) to the service rest endpoint url.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 15:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7349#M711</guid>
      <dc:creator>BrianLord1</dc:creator>
      <dc:date>2013-02-26T15:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page Issue after 10.1 Upgrade</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7350#M712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So I was looking into this more and found that if I debug the proxy.ashx (using visual studio) and run it on localhost (&lt;A href="http://localhost:3274/appname/proxy.ashx"&gt;http://localhost:3274/appname/proxy.ashx&lt;/A&gt;) I am able to use the proxy to navigate to the applyedits rest endpoint.&amp;nbsp; However, if I try to use the proxy from where the app sits on my server i get the error and cannot get to the applyEdits rest endpoint.&lt;BR /&gt;&lt;BR /&gt;Summing it up...&lt;BR /&gt;&lt;STRONG&gt;This works...&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://localhost:3274/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits"&gt;http://localhost:3274/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;This does not work and I get the error.&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="http://servername/websites/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits"&gt;http://servername/websites/appname/proxy.ashx?http://servername:6080/arcgis/rest/services/foldername/servicename/FeatureServer/2/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The proxy.ashx and proxy.config are saved in the same folder as the html page for the app.&amp;nbsp; Kind of at a loss as to what to check next.&amp;nbsp; As I mentioned in my first post, this only occurred after upgrading to server 10.1 so I think it might have to do with adding the port number (servername: 6080) to the service rest endpoint url.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;next i would try to put a serverUrl including the port in proxy like this: &amp;lt;serverUrl url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://servername:6080/arcgis(or" rel="nofollow" target="_blank"&gt;http://servername:6080/arcgis(or&lt;/A&gt;&lt;SPAN&gt; your instance name)/rest/services" matchAll="true" /&amp;gt; and see what happen...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 19:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7350#M712</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2013-02-26T19:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page Issue after 10.1 Upgrade</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7351#M713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did already have that in my proxy.config file.&amp;nbsp; Below is the code I currently have.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Proxy.Config...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;

&amp;lt;ProxyConfig mustMatch="true"&amp;gt;
&amp;nbsp; &amp;lt;serverUrls&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serverUrl url="http://serverName:6080/instance/rest/services/"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matchAll="true"&amp;gt;&amp;lt;/serverUrl&amp;gt;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; &amp;lt;/serverUrls&amp;gt;

&amp;lt;/ProxyConfig&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code located in the main HTML page...&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.config.defaults.io.proxyUrl = "proxy.ashx"; //Setting to use proxy file
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.config.defaults.io.alwaysUseProxy = false;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:18:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-issue-after-10-1-upgrade/m-p/7351#M713</guid>
      <dc:creator>BrianLord1</dc:creator>
      <dc:date>2021-12-10T20:18:13Z</dc:date>
    </item>
  </channel>
</rss>

