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

相关信息
Article ID: 42336
Software:
ArcGIS for Local Government 10.2
Platforms: N/A

错误信息
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/ ... uffer status: 500"

错误原因
The proxy page uploaded with the Land Use Public Notification local government template is outdated or nonfunctional.
已邀请:

EsriSupport

赞同来自:

解决方案
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\proxyOpen 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.jsEdit 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.


创建及修改时间
Created: 3/20/2014

Last Modified: 8/19/2014
原文链接
http://support.esri.com/en/kno ... 42336

要回复问题请先登录注册