you are correct!! becoz when i work on some other network (private network i.e. out of office network), it works fine. The issu comes only in office network. Can you provide some work -around how i can fix this for my office network also.
it looks like a dns problem. From where you run this code do you can do a nslookup on sampleserver3.arcgisonline.com ?
Hi,
I am getting error at Stream outputStream = req.GetRequestStream()) saying "The remote name could not be resolved: 'sampleserver3.arcgisonline.com". I have add this URL in my proxy.config http://sampleserver3.arcgisonline.com/ArcGIS/rest/services which is working fine. Also when i try to check with http://[yourmachine]/DotNet/proxy.ashx?http://services.arcgisonline.com/ArcGIS/rest/services/?f=pjson this URL, it gives the same error.
After setting mustMatch="false" in proxy.config and tried http://[yourmachine]/DotNet/proxy.ashx?http://www.google.com/ this URL, leads to same error.
Working on ArcGIS Javavascript API 3.10.
OS windows 7 Enterpriise edition SP1
IIS 7.5
Anyone know how to fix this issue???
(NOTE :PFAÂ image for the error)
Regards,
Shaikh Rizuan
Mail: shaikhrizuan@gmail.com
System.setProperty("http.proxyHost", "<proxy_ip>"); System.setProperty("http.proxyPort", "<proxy_port>");
Additional finding. From what I can tell, the proxy pages need to exist in the same folder on disk as the root of the web application. For my MVC project this location maps to the same folder on disk as Global.asax. So, regardless of where my javascript code looks for the proxy page...esri.config.defaults.io.proxyUrl = "/proxy/proxy.ashx";...if the proxy page does not exist in the Web app root, the editor's ajax call fails with status 500.
I struggled with the same "Error: Unable to load [url]/proxy.ashx?\requestUrl] status:500 http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5compact". I was attempting to perform an edit operation on a feature service (simply create a point feature). I experimented with some different web app/proxy configurations and here's what I found.My environmentArcGIS Server 10 SP2 on Server A delivering map services, Windows Server 2008ESRI Javascript api (v2.5 compact) web app on Server B performing feature editing, Windows Server 2008, IIS 7, .net 4.0 installed and .net 4 asp.net registered with IISDefault website is bound to port 80.The only configuration that worked is when the proxy page and proxy config live in the same folder on disk as the web application and therefore were served under the same website or IIS/ASP application. I'd like to understand the reasons if anyone can offer assistance. Note, my GIS server is remote, i.e., not on the same machine as the web server. I did not attempt to place the proxy files on the GIS Server; my result set for that scenario is nonexistent.
- have you tried insert feature from rest page?- have you configurated serverUrls in page proxy?- can you do debug on page.jsp calling page http://arcgis:8399/proxy/proxy.jsp?h.../18/applyEdits ?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.