ERROR

Query Request Error: Unable to load http://yourserver/PublicNotification/proxy/proxy.ashx?http://yourserver/ArcGIS/rest/services/Utilities...

Last Published: April 25, 2020

Error Message

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"

Cause

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:

  1. 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.
  2. In Windows Explorer, copy the DotNet folder to

    C:\InetPub\wwwroot\PublicNotification

  3. Go to IIS and convert it to an application.
  4. Go to

    C:\InetPub\wwwroot\PublicNotification\dotnet\proxy

    Open proxy.config in a text editor. If not already done, edit the serverUrl tag to

    http://yourserver/arcgis/rest/

  5. Go to

    C:\InetPub\wwwroot\PublicNotification\js\config.js

    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:

    ProxyUrl: "/dotnet/proxy.ashx",

  6. Launch

     http://yourserver.com/PublicNotification 

    Test the buffer tool. It should display results without any error.

Article ID:000012012

Software:
  • ArcGIS for Local Government

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic