HTTP/1.1 500 server error Solution

Source: Internet
Author: User

After half an afternoon, I did not find a solution to the problem. I just solved the problem and shared it with others. I don't want to be confused like me.

How to solve the HTTP/1.1 500 server error when creating an ASP. NET Project

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.