重新安裝ASP.NET:
aspnet_regiis.exe /i
重新安裝框架:
.NET預裝盤符:/dotNetFramework/dotnetfx.exe /t:c:/temp /c:"msiexec.exe /fvecms c:/temp/netfx.msi"
When you try to browse Active Server Pages (ASP) pages, you may receive the following error message in the browser:
If you clear the Show Friendly HTTP Error Messages check box in the browser, you receive the following error message in the browser:
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information.
This error message is followed in the event log by a warning message like the following:
You may also see entries like the following in your %SystemRoot%/Iis5.log file:
CAUSEThe NT AUTHORITY/Authenticated Users or NT AUTHORITY/INTERACTIVE entries have been removed from the Users group. RESOLUTIONAdd these users back to the Users group, and then restart Internet Information Services (IIS): 1. Click Start, click Programs, click Administrative Tools, and then click Computer Management to open the Computer Management console. 2. In the left pane, expand Local Users and Groups, and then click the Groups folder. 3. In the right pane, right-click the Users group, and then click Properties. 4. Click Add. 5. In the Select Users or Groups dialog box, locate the Look in drop-down box, and then select the local computer. 6. Select Authenticated Users, and then click Add. 7. Select INTERACTIVE, and then click Add. 8. Click OK, click Apply, and then click Close to close the properties for the Users group. 9. In the left pane, expand Services and Applications, and then click Services. 10. In the right pane, right-click IIS Admin Service, and then click Restart. 11. In the Restart Other Services confirmation dialog box, click Yes. |