<?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 error using editor widgit? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245981#M22760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi JayGregory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please explain what you mean by "I've made some progress, but your tip sent me down a whole other path of troubleshooting. I can tell I'm closer though! "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm exactly in the same boat as you apparently were, and so far all i get are those two errors you had depending on the path to the proxy.ashx file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you do anything else besides changing the mustMatch from true to false?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Its just that I've tried that already and nothing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Filipe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2012 14:47:48 GMT</pubDate>
    <dc:creator>filipebrandão</dc:creator>
    <dc:date>2012-05-14T14:47:48Z</dc:date>
    <item>
      <title>Proxy page error using editor widgit?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245976#M22755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am getting an error when I try to use the default editor widgit, and I think it might have to do with the proxy page...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working on a dev server, and I essentially copied the code from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm" rel="nofollow" target="_blank"&gt;this Esri sample&lt;/A&gt;&lt;SPAN&gt; and modified the links to my feature service and geometry service.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When testing, I was at first getting a console error (I'm using firebug) of &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;"esri.config/defaults.io.proxyUrl is not set"&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;&amp;nbsp; So I followed the instructions to create a proxy for .NET server (I'm using IIS 7 so had to fill in the gaps since the documentation is for IIS 5 &amp;amp; 6).&amp;nbsp; The only snafu I ran into was when I was configuring/adding the proxy application is IIS, the test settings would fail using&amp;nbsp; "Application User (pass through authentication)".&amp;nbsp; So I clicked the "connect as" button and connected using a specific user, the ArcGISSOC account, and the "Test Settings" worked.&amp;nbsp; I modified the proxy.config file to include &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;serverUrl url="http://win-2rninrlf7l8/ArcGIS/rest/services/WebMap/FeatureServer/ "matchAll="true"&amp;gt;&amp;lt;/serverUrl&amp;gt; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; and added &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx";&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; to my page (the 2 proxy files are in C:\inetpub\wwwroot\proxy). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My page loads fine, but when I click on the default editor template and then click on the map to add a point, I get the following console error via Firebug: &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;"Error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.8 Line: 14"]"&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;&amp;nbsp; If I replace the proxy URL in my code to some junk, I get the same error, so I'm thinking it has something to do with how I've configured my proxy page.&amp;nbsp; I've tried various combinations of proxyURL URI's but everything seems to return that error, except if I try to use the absolute path &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;esri.config.defaults.io.proxyUrl = "C:/inetpub/wwwroot/proxy/proxy.ashx";&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; in which case I get this error: &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Error: Permission denied for &amp;lt;file://&amp;gt; to create wrapper for object of class UnnamedClass&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Any assistance resolving this issue would be of great help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 17:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245976#M22755</guid>
      <dc:creator>JayGregory</dc:creator>
      <dc:date>2012-04-09T17:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page error using editor widgit?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245977#M22756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are couple of things you can try,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Go to your IIS manager.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-On the left panel under Connections browse to the proxy folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Right click on the proxy folder and hit "Convert to Application".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or you can try&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. In your code replace the URL of the proxy with your server name(see below),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;-esri.config.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;serverName&amp;gt;/proxy/proxy.ashx";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Test your proxy by directly going to your browser and accessing any public site through proxy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;like: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;serverName&amp;gt;/proxy/proxy.ashx?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="http://www.msn.com"&gt;http://www.msn.com&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 19:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245977#M22756</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2012-04-10T19:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page error using editor widgit?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245978#M22757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Shreyas, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've made some progress, but your tip sent me down a whole other path of troubleshooting.&amp;nbsp; I can tell I'm closer though! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am now getting a post error when I try to add a point - its sending the correct request, I just don't know why it's failing.&amp;nbsp; I thought I set all my permissions correctly, giving the SOC and SOM administrator rights on my dev machine....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;POST &lt;/SPAN&gt;&lt;A href="http://localhost/proxy/proxy.ashx?http://win-2rn...t/services/MapService/FeatureServer/0/applyEdits"&gt;http://localhost/proxy/proxy.ashx?http://win-2rn...t/services/MapService/FeatureServer/0/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;NetworkError: 403 Forbidden -&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://localhost/proxy/proxy.ashx?http://win-2rn...t/services/MapService/FeatureServer/0/applyEdits"&gt;http://localhost/proxy/proxy.ashx?http://win-2rn...t/services/MapService/FeatureServer/0/applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Error: Unable to load &lt;/SPAN&gt;&lt;A href="http://localhost/proxy/proxy.ashx?http://win-2rninrlf7l8/ArcGIS/rest/services/MapService/FeatureServer/0/applyEdits"&gt;http://localhost/proxy/proxy.ashx?http://win-2rninrlf7l8/ArcGIS/rest/services/MapService/FeatureServer/0/applyEdits&lt;/A&gt;&lt;SPAN&gt; status:403&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 18:21:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245978#M22757</guid>
      <dc:creator>JayGregory</dc:creator>
      <dc:date>2012-04-11T18:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page error using editor widgit?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245979#M22758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can directly check whether you can reach your rest endpoint through your proxy :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/proxy/proxy.ashx?http://" rel="nofollow" target="_blank"&gt;http://localhost/proxy/proxy.ashx?http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;url of rest endpoint&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or else :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Go to your IIS Manager and check whether you have enabled Anonymous Authentication in your 'Authentication' . Also go to 'Directory Browsing' and in the right panel hit enable to directly browse files from the server. And check if you have access to your folders.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in your browser just go to: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/proxy/" rel="nofollow" target="_blank"&gt;http://localhost/proxy/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; and check if you can see the two files in your browser. This will confirm whether you are getting access to our directory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 19:14:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245979#M22758</guid>
      <dc:creator>ShreyasVakil</dc:creator>
      <dc:date>2012-04-12T19:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page error using editor widgit?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245980#M22759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able to get things to work nicely by changing the mustMatch parameter at the top of the config file to "false" instead of "true."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Apr 2012 18:43:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245980#M22759</guid>
      <dc:creator>JayGregory</dc:creator>
      <dc:date>2012-04-14T18:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page error using editor widgit?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245981#M22760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi JayGregory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please explain what you mean by "I've made some progress, but your tip sent me down a whole other path of troubleshooting. I can tell I'm closer though! "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm exactly in the same boat as you apparently were, and so far all i get are those two errors you had depending on the path to the proxy.ashx file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you do anything else besides changing the mustMatch from true to false?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Its just that I've tried that already and nothing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Filipe&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 14:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245981#M22760</guid>
      <dc:creator>filipebrandão</dc:creator>
      <dc:date>2012-05-14T14:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy page error using editor widgit?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245982#M22761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I believe the solution for me was due to the difference between testing operations my own local (development) copy of the website, and the copy on server.&amp;nbsp; As it turns out, I was only able to successfully use the proxy by actually loading my website onto the webserver, and accessing the the website through its url (e.g. &lt;/SPAN&gt;&lt;A href="http://www.mydomain.com/website/index.html"&gt;http://www.mydomain.com/website/index.html&lt;/A&gt;&lt;SPAN&gt;).&amp;nbsp; In my code, simply using the relative-to-wwwroot proxy folder worked in the js (esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx"; when my proxy folder was a child of wwwroot.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would NOT work however if I was testing the website on my local computer.&amp;nbsp; I had to load it onto the web server and run it from there.&amp;nbsp; Does that make sense?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 14:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-error-using-editor-widgit/m-p/245982#M22761</guid>
      <dc:creator>JayGregory</dc:creator>
      <dc:date>2012-05-14T14:57:12Z</dc:date>
    </item>
  </channel>
</rss>

