"esri.config/defaults.io.proxyUrl is not set"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 & 6). The only snafu I ran into was when I was configuring/adding the proxy application is IIS, the test settings would fail using "Application User (pass through authentication)". So I clicked the "connect as" button and connected using a specific user, the ArcGISSOC account, and the "Test Settings" worked. I modified the proxy.config file to include
<serverUrl url="http://win-2rninrlf7l8/ArcGIS/rest/services/WebMap/FeatureServer/ "matchAll="true"></serverUrl>
esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx";
"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"]"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. 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
esri.config.defaults.io.proxyUrl = "C:/inetpub/wwwroot/proxy/proxy.ashx";
Error: Permission denied for <file://> to create wrapper for object of class UnnamedClass
Solved! Go to Solution.