Guidance:
How to solve the HTTP/1.1 500 server error when creating an ASP. NET Project
Check whether the following error message is a headache and many related solutions on the Internet are difficult to solve.
Step 1 (enable the MSDTC Service)
Open Control Panel → Administrative Tools → Services → find service Distributed Transaction Coordinator → right-click Properties → change Startup type to manual or automatic, then OK → right-click to start the service
Note: If the service does not exist or cannot be started, it means that your machine may not have installed the service. Start to run and enter the command
1. iisreset/stop
2. Net user ASPnet/delete
3. aspnet_regiis-I
4. MSDTC-install
5. Follow the steps above to start the service. If the service still cannot be found, restart the computer.
Step 2
Start → run → cmd
Enter cd % WINDIR %/system32/inetsrv and press Enter.
Enter rundll32 wamreg. dll, createiispackage, and press Enter.
Enter regsvr32 asptxn. dll and press Enter.
Step 3
Start running input iisreset/start
Open Control Panel → Administrative Tools → Internet Information Service → start the default website (with a triangular arrow)
OK. If you are ie7.0, you still need to configure it.
Open IE browser → tool Internet Options → Security → local Internet → site → advanced → enter http: // localhost to add OK
Okay. If you have any questions, please leave a message. If you reprint this article, please indicate "this article is from the black and white cat Studio". Thank you.
This article is transferred from
Http://hi.baidu.com/sy024/blog/item/fd5b023b28cfeaee14cecb5b.html