前几天在实验室的机器上安装ArcGIS9.0,不成功,总是有许多.dll文件fail to register,换安装ArcGIS8.3也出现同样的问题,请教IT业著名专家tsing后发现原来是WindowsXP SP2版本的问题:
With the release of Windows XP SP2, Microsoft enabled the Data Execution Prevention (DEP) feature that is embedded in some processors. These processors include the Intel Celeron-D and Xeon, as well as the AMD Athlon 64 processors. Data execution prevention (DEP) is a set of hardware and software technologies that perform additional checks on memory to help protect against malicious code exploits.
Error Message
Attempting to install ArcGIS products on a machine with a processor that supports “D.E.P” (data execution prevention) and Windows XP Service Pack 2 results in a failed installation. This includes the AMD Athlon 64 Family processors, as well as newer Intel Xeon, Pentium 4, and Celeron-D processors. The following error message or similar is returned:
“Error 1904. Module E:\arcgis\arcexe83\bin\AfuiCust.dll failed to
register. HRESULT -2147023898. Contact your support personnel.”
Various other DLL’s fail to register during the process.
Solution or Workaround
Disable DEP in Windows XP SP2 using the steps below.
Verify the Administrator account is running for Windows XP.
Right-click on My Computer and select Properties.
Click on the Advanced tab.
Select the Settings button under Startup and Recovery.
Locate the line by the default operating system that reads:
“Microsoft Windows XP Professional” /fastdetect /NoExecute=OptIn
Locate and change the boot.ini, by clicking on the Edit button, and then change /NoExecute=OptIn to /NoExecute=AlwaysOff.
Save the file and reboot.
Now ArcGIS should install with no error 1904 messages.
After installation, change the boot.ini back to its original state, returning the added layer of security.
The boot.ini file switches:
/noexecute=option – This is the default. DEP is enabled. There are four options to this switch:
– OptIn – Default setting. Only Windows system binaries are monitored by DEP.
– OptOut – Enables DEP for all processes. Users can create a list of applications which are not monitored by DEP using the DEP configuration options listed in the System Control Panel applet.
– AlwaysOn – Enables DEP for all processes. DEP is always applied, and exceptions lists are ignored and not available for users to apply.
– AlwaysOff – Disables DEP.
/execute – Disables DEP.
另外一个问题今天在GIS探索者上面看到的,由于.NET Framework引起的问题:
Error Message
During the installation of ArcGIS Desktop, the following error is displayed:
“Error 2908. Could not register component”
Cause
This error occurs when the installation of Microsoft .NET Framework has been corrupted or if Microsoft .NET Framework 2.0 or 2.0 beta is installed.
Solution or Workaround
Uninstall all versions of Microsoft .NET Framework and reinstall.
Navigate to Start > Control Panel > Add/Remove Programs.
Remove all installed versions of Microsoft .NET Framework and any Microsoft .NET Framework hotfixes.
Open an web browser and go to http://windowsupdate.microsoft.com. ;
Install Microsoft .NET Framework 1.1; this installation usually takes a few minutes and usually requires a reboot of the computer.
Open an web browser and go to http://windowsupdate.microsoft.com. ;
Install Microsoft .NET Framework 1.1 Hotfix.
Do not install Microsoft .NET Framework 2.0 or 2.0 beta as this version is not supported by ArcGIS Desktop 8.x or 9.0.