漏洞

漏洞:对于某些实施文件夹重定向的系统,在 ArcToolbox 中运行任何地理处理工具时,会生成 Internet Explorer 脚本错误

Last Published: July 20, 2023

描述

Note:
This issue is fixed in ArcGIS Desktop 10.6.

On some systems that implement Folder Redirection and Roaming Profiles, an Internet Explorer Script error is generated when running any Geoprocessing tool in ArcToolbox. The error is similar to the screen shot below:

An error has occurred in the script of this page.

The error usually appears three times, then the tool opens successfully.

原因

This is a known issue. A permanent solution was implemented in ArcGIS Desktop 10.6, for previous versions, use the following workarounds.

Note:
If similar error messages are being returned but Folder Redirection or Roaming Profiles are not being implemented, refer to the article in the Related Information section below.

解决办法

For version 9.x and earlier, use the following steps.

  1. Close ArcMap and ArcCatalog.
  2. Download the following compressed ZIP file: ver9x.zip.
  3. There are two files in the ZIP file: MdDlgContent.xsl and MdDlgHelp.xsl. Unzip the contents of the ZIP file to the desktop or a desired location on the hard drive.
  4. In Windows Explorer, navigate to the Stylesheets folder in the ArcGIS installation folder. This is usually located at:
C:\Program Files\ArcGIS\ArcToolbox\Stylesheets
  1. In the Stylesheets folder, rename MdDlgContent.xsl to MdDlgContent.xsl_old and rename MdDlgHelp.xsl to MdDlgHelp.xsl_old.
  2. Copy the two new files that were extracted from the ZIP file to the Stylesheets folder. The contents of the folder should look like the screen shot below.

The geoprocessing tools open without error.

The Stylesheets folder window displaying the extracted files.

For version 10.0 through 10.5, use the following steps:

  1. Close ArcMap and ArcCatalog.
  2. Download the following compressed ZIP file: ver10.zip.
Note:
To download the ZIP file, copy and paste the link to a new browser.
  1. There are two files in the ZIP file: MdDlgContent.xsl and MdDlgHelp.xsl. Unzip the contents of the ZIP file to the desktop or a desired location on the hard drive.
  2. In Windows Explorer, navigate to the Stylesheets folder in the ArcGIS installation folder. This is usually located at:
C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Stylesheets
  1. In the Stylesheets folder, rename MdDlgContent.xsl to MdDlgContent.xsl_old and rename MdDlgHelp.xsl to MdDlgHelp.xsl_old.
  2. Copy the two new files that were extracted from the ZIP file to the Stylesheets folder. The contents of the folder should look like the screen shot below.

The geoprocessing tools open without error.

The Stylesheets folder window displaying the extracted files.

文章 ID:000011008

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

发现关于本主题的更多内容