Server application error
The server has encountered an error while loading2009-10-31 14: 48The 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. please contact the server administrator for maintenance ance.
The preceding error occurs in IIS 5.1.
Solution: (only about the solution, not about the principle. If you want to know the principle, please refer to Baidu. This article is modified from an article on the Internet and is suitable for cainiao to correct errors. I would like to pay tribute to the original author .)
The solution is divided into three steps: (Note: The number 1234 in the text indicates the password you want to set .)
I:
1. Right-click my computer-Manage-System Tools-Local Users and group-users, set the password for "IUSR _ machine name" and "IWAM _ machine name" (I set it to 1234. (Right-click the password and select "set password)
2. Start -- run -- press cmd,
Then cd c :\\ Inetpub \ adminscripts
Cscript.exe adsutil. vbs set w3svc/wamuserpass "1234"
Cscript.exe adsutil. vbs set w3svc/anonymoususerpass "1234"
Then cscript.exe synciwam. vbs-V
Restart IIS.
Test the webpage. If you have done it, congratulations !!!
Don't be discouraged if you don't get it done. Continue with the following operations (the 8004e00f error may occur in the bottom line, because the MSDTC Service is abnormal)
II,
1. Delete the keys in the registry:
· HKEY_LOCAL_MACHINE/system/current control/set services MSDTC
· HKEY_LOCAL_MACHINE/software/Microsoft/MSDTC
· Hkey_classes_root/CID
2. Start-run-cmd, and then execute the following three commands in sequence.
Stop MSDTC Service: net stop MSDTC
Uninstall the MSDTC Service: MSDTC-uninstall
Reinstall the MSDTC Service: MSDTC-install
3. Start-run-eventvwr. Open the Event Viewer, click the "application" option, and click the top information in the window on the right to view the content, make sure that the MSDTC Service has been started properly in the Event Viewer. [This step is critical. If not, restart your computer.]
4. Execute the first part of the command in sequence.
This part of the Internet can be said in most cases, but although I do not have a 8004e00f error prompt here, but the server application error on the access page still persists, so continue.
III,
[1]:
Check whether your DTC service (full name: Distributed Transaction Coordinator) can be started normally,
If this step is normal, skip this step. If an error occurs and cannot be started properly, run MSDTC-resetlog in the Start menu to create a log file. Restart the machine and check whether IIS can be used normally. If not, continue.
[2]:
Run the following command in cmd:
Cd % WINDIR % system32inetsrv
Rundll32 wamreg. dll, createiispackage
Regsvr32 asptxn. dll
(I can use it here, without restarting)
OK, ASP page is all normal. Cheering...