<?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: problems setting up my proxy pages on my server in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379044#M35175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would think you would take an performance hit for that and somewhere else I read that you shouldn't&amp;nbsp; set that to true except when you are using the proxy for security reasons.&amp;nbsp; I'm not.&amp;nbsp;&amp;nbsp; I need it because I'm using a geometryService and a routeTask and both routinely exceed the max # of characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already tried adding that line BTW and it didn't make any difference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 17:41:09 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2012-11-20T17:41:09Z</dc:date>
    <item>
      <title>problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379042#M35173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have followed the instructions on how to set up proxy pages and I'm running out of ideas of why my application is completely ignoring my proxy set up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the configuration files using the ASP.NET option.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a folder on my server under inetpub/wwwroot and called it &lt;/SPAN&gt;&lt;STRONG&gt;proxy&lt;/STRONG&gt;&lt;SPAN&gt; and put proxy.config and proxy.ashx in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I edited proxy.config file to contain the paths to my local services as well as the ESRI online services (I am generating a buffer as well as trying to build routes with a route task).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I went into IIS Manager and create an application from this directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified my code to have the path in my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; esri.config.defaults.io.proxyUrl = "proxy/proxy.ashx";&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I keep my projects in another directory, not wwwroot, but have set a virtual directory to the location of where the files reside.&amp;nbsp; My file opens just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I look at Firebug, on the Net tab to watch the traffic, I never see any POST entries, only GET, so none of my requests are going through the proxy.&amp;nbsp; There are no errors, it's just not using it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I an defining my proxyUrl, should I be using this type of relative path name?&amp;nbsp; I tried a complete URL to the location of the proxy.ashx, but that didn't help.&amp;nbsp; It seems like if it couldn't find the proxy file, I would at least get an error telling me it couldn't find it???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 20:41:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379042#M35173</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-11-19T20:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379043#M35174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;esri.config.defaults.io.alwaysUseProxy = true;&lt;/PRE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;If the alwaysUseProxy property is false (the default), then the proxy page will be used automatically if the proxy property is set and the request exceeds 2000 characters.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In other words if you want to force the API to use the proxy for ALL requests then set the value to true.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 07:32:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379043#M35174</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-20T07:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379044#M35175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would think you would take an performance hit for that and somewhere else I read that you shouldn't&amp;nbsp; set that to true except when you are using the proxy for security reasons.&amp;nbsp; I'm not.&amp;nbsp;&amp;nbsp; I need it because I'm using a geometryService and a routeTask and both routinely exceed the max # of characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already tried adding that line BTW and it didn't make any difference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 17:41:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379044#M35175</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-11-20T17:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379045#M35176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would think you would take an performance hit for that&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, but not really a significant hit...unless your proxy is poorly implemented.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;and somewhere else I read that you shouldn't&amp;nbsp; set that to true except when you are using the proxy for security reasons.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Security is not the only reason; but the logic here is 'don't set up a proxy unless you have at least one reason', obviously!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I need it because I'm using a geometryService and a routeTask and both routinely exceed the max # of characters.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Indeed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I already tried adding that line BTW and it didn't make any difference.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you've got something wrong somewhere else &amp;lt;- rocket science &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't suppose any of your stuff (just the app will do) is publicly accessible?&amp;nbsp; (or perhaps you could hack a quick page together that exhibits your issue?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 07:55:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379045#M35176</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-21T07:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379046#M35177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This works in Firefox and Chrome, but not in IE.&amp;nbsp; I don't feel very proficient using the IE debugging tools.&amp;nbsp; But since there are no errors in Firebug, I had to look into other debugging options.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also turned on Fiddler to monitor my traffic. I turned "always use proxy" back on again and now in Fiddler I see an error that the stops I have defined for the routetask are invalid.&amp;nbsp; I think this is curious because it works in other browsers.&amp;nbsp; So I will be pursuing that instead (and have a thread about it as well).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is available at &lt;/SPAN&gt;&lt;A href="http://wwwgis.dhss.mo.gov/Website/mobileWIC/WIC.html"&gt;http://wwwgis.dhss.mo.gov/Website/mobileWIC/WIC.html&lt;/A&gt;&lt;SPAN&gt; Since it's based on geoLocation, it's not going to work for you (unless you happen to be in Missouri).&amp;nbsp; It has an option to "Enter my starting address" that will search by geocode instead.&amp;nbsp; I'm using the World Locator, so you can just enter any Missouri town.&amp;nbsp; I've been using Holt, MO for no other reason except that it is short and easy to type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 12:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379046#M35177</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-11-21T12:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379047#M35178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Works for me in FF, Chrome, IE9 so far i.e. I see it's using the proxy that you've set.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: and IE8 and IE7...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 13:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379047#M35178</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-21T13:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379048#M35179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The state is still on IE 8.&amp;nbsp; I found the problem!&amp;nbsp; It had to do with the mobile components, that aren't well supported in in that browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was adding a few attributes to my start and end points and the start point was supposed to have the name of the address by finding the content of a mobile item.&amp;nbsp; Instead it was coming back as undefined.&amp;nbsp; I didn't think much of it, but instead of being "blank", it must have had something very wierd as the name attribute and it was confusing the whole thing.&amp;nbsp; I didn't really have to have the attribute and took it out - problem solved!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 13:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379048#M35179</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-11-21T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379049#M35180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;^ and this was affecting the proxy usage?&amp;nbsp; (or is this the answer to your other thread, rather than this one?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 13:36:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379049#M35180</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-11-21T13:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: problems setting up my proxy pages on my server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379050#M35181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I thought it was my proxy because it was 'failing' on the request I thought was the biggest one I was trying to process.&amp;nbsp; In the end I had two problems, one with my proxy and one with routeTask.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 16:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-setting-up-my-proxy-pages-on-my-server/m-p/379050#M35181</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2012-11-21T16:56:22Z</dc:date>
    </item>
  </channel>
</rss>

