Select to view content in your preferred language

Error: The remote name could not be resolved in JS API 3.10 with proxy.ashx

2350
0
07-23-2014 01:44 AM
ShaikhRizuan
Regular Contributor


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=pjso... 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

0 Kudos
0 Replies