Aspx Server SETUP Solution

Source: Internet
Author: User

Symptoms:
When testing IIS, an error occurs in HTTP 500.
Enable ie internet option-advanced-uncheck "show friendly HTTP Error messages"
The Error Server Application Error is returned.
After analysis, the reasons are as follows: (I am XP SP3 professional VS2005 IIS5.1)
1. The sequence of IIS and VS2005 installation is normal. When IIS is installed first and then VS2005 is installed, no manual configuration is required. If it is post-installed IIS or IIS is reinstalled, You need to manually configure IIS (IIS needs to completely install all components) as follows: (take the system disk as the C disk as an example)
Stop IIS service
Run cmd, type cd C: \ WINDOWS \ Microsoft. NET \ Framework \ v2.0.50727, and then click aspnet_regiis.exe-I. After installation, click aspnet_regiis.exe-r.
Start IIS service
2. If the first step is still reported, continue to synchronize the IIS Password
In CMD, cd c: \ inetpub \ adminscripts and then cscript synciwam. vbs-v
The execution result is as follows:
IIS Applications Defined:
Name, AppIsolated, Package ID
W3svc, 0, {3D14228C-FBE1-11d0-995D-00C04FD919C1}
ROOT, 2,
IISHelp, 2,
Out of process applications defined:
Count: 1
{3D14228D-FBE1-11d0-995D-00C04FD919C1}
Updating Applications:
Name: IIS Out-Of-Process Pooled Applications Key: {3D14228D-FBE1-11D0-995D-00C04FD919C1}
3. first, go to component service and check component service-/computer-my computer-COM + application. The error "COM + cannot talk to Microsoft Distributed Transaction Coordination Program, error code 8004e00f" is returned ", you cannot view the objects in it. Go to the Event Viewer and find that the msdtc Service is not started properly.
You need to delete the following keys in the registry:
• HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/MSDTC
• HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MSDTC
• HKEY_CLASSES_ROOT/CID
Then stop the MSDTC Service: in CMD, net stop msdtc
Uninstall the MSDTC Service: msdtc-uninstall
Reinstall the MSDTC Service: msdtc-install
Start MSDTC Service: net start msdtc
If the requested service has been started, the msdtc Service has started redo Step 1 normally.
4. If the first three steps are not successful
In the event viewer, the following message is displayed: "The server cannot load the application '/LM/W3SVC"
Run cd % windir % \ system32 \ inetsrv in CMD
Then rundll32 wamreg. dll, CreateIISPackage
Then regsvr32 asptxn. dll
Then restart the machine to solve the problem.

Related Article

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.