Hi i have downloaded one of the sample ESRI editing examples and added my own maps(rest end points) and they are diplaying as they should. I have downloaded the proxy.ashx and proxy.config. I have set my html page to point at the proxy and config as below. My proxy pages are in C:\Inetpub\wwwroot\proxy i have done as advised in another thread and created the proxy folder to an application.
Server Error in '/proxy' Application. --------------------------------------------------------------------------------
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'Generic' does not exist in the class or namespace 'System.Collections' (are you missing an assembly reference?)
Source Error:
using System.IO; using System.Web; using System.Collections.Generic; using System.Collections; using System.Text;
i have researched System.Collections.Generic and i just cant find what is wrong this was in the downloaded file from esri so i have tried with it removed and does not work.
Has anyone had this error i have looked on forum and people have had problems with proxy page set up but not the same problem as mine any help would be greatfull.
for info this is now working thanks to ESRI consultant it was a setting in iis i ran aspnet_regiis -i This will register ASP.NET 2.0 as the default version with IIS. then restarted iis
I should have asked how do i make an edit via the REST API directly?
What i have done is create an editing application in arcgis server and it worked using the same data(end points) so i knoe it was set up correctly. But i work with javascript and dojo so i would like to set up web editing with proxy page.
for info this is now working thanks to ESRI consultant it was a setting in iis i ran aspnet_regiis -i This will register ASP.NET 2.0 as the default version with IIS. then restarted iis
this is now working thanks to ESRI consultant it was a setting in iis i ran aspnet_regiis -i This will register ASP.NET 2.0 as the default version with IIS. then restarted iis
all working
In the development stage, I usually put prox page in my application folder(like same folder as index.htm etc). It is much easier to debug and role out proxy related issues...