Error: Query Request Error: Unable to load http://yourserver/PublicNotification/proxy/proxy.ashx?http://yourserver/ArcGIS/rest/services/Utilities...
This article assumes the client successfully deployed the Land Use Public Notification (ArcGIS 10.2) for Local Government.
After loading the web application in a web browser, and selecting any parcel in the map, a pop-up with pre-selected information displays. After clicking on the detail option to provide values for buffer distance, and proceeding to download the result in pdf or CSV format, instead of downloading the result, the following error is returned:
"Query Request Error: Unable to load http:// yourserver/PublicNotification/proxy/proxy.ashx?http://yourserver/ArcGIS/rest/services/Utilities/Geometry/GeometryServer/buffer status: 500"
The proxy page uploaded with the Land Use Public Notification local government template is outdated or nonfunctional.
Solution or Workaround
Replace the proxy page by following the steps below:
- Go to Sample Proxy Page to download and test a sample proxy page. Choose the DotNet option for IIS. Follow the instructions on the page to install and test the proxy. It is important to note that the DotNet application requires a .NET 4.0 application pool or later.
- In Windows Explorer, copy the DotNet folder to
- Go to IIS and convert it to an application.
- Go to
Open proxy.config in a text editor. If not already done, edit the serverUrl tag to
- Go to
Edit all URL addresses to all services. Use the external address, http://yourserver.com/arcgis/rest/. Verify it is the same address as the one in proxy.config. Also change the ProxyUrl to /dotnet/proxy.ashx to point to the new proxy. It should look like the following:
Test the buffer tool. It should display results without any error.