這幾天真是鬱悶,兩個問題,一個是xp+sp2下裝vs6不能調試,沒有解決。第二個問題是同樣環境下裝argis9,老師報告dll不能註冊。
首先在google和baidu上查詢,無結果。懷疑顯卡,無結果。懷疑操作系統,重裝若干次,無結果。懷疑病毒,無結果。最後上esri網站,搜索,解決。
- Verify the Administrator account is running for Windows XP.
- Go to Start->Control Panel and choose the System applet. XP Home users may need to choose the "Classic View" link to be able to see the System applet.
- Click on the Advanced tab.
- Select the Settings button under Startup and Recovery.
- Locate and change the boot.ini, by clicking on the Edit button, and then change the string /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.
Below are the different switches for the NoExecute parameter.
The boot.ini file switches:
/NoExecute=OptIn - 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.
看來,內事問老婆,外事問google是不一定行的。