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...
I'm working on a dev server, and I essentially copied the code from this Esri sample and modified the links to my feature service and geometry service.
When testing, I was at first getting a console error (I'm using firebug) of
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
"esri.config/defaults.io.proxyUrl is not set"
<serverUrl url="http://win-2rninrlf7l8/ArcGIS/rest/services/WebMap/FeatureServer/ "matchAll="true"></serverUrl>
to my page (the 2 proxy files are in C:\inetpub\wwwroot\proxy).
esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx";
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:
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
"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"]"
in which case I get this error:
esri.config.defaults.io.proxyUrl = "C:/inetpub/wwwroot/proxy/proxy.ashx";
Any assistance resolving this issue would be of great help.
Error: Permission denied for <file://> to create wrapper for object of class UnnamedClass