Solution for Unable to Open ASP Web Page

  • 2021-07-26 08:46:00
  • OfStack

Today, I encountered a problem. The original asp webpage could not be opened. At the same time, the occupancy rate of CPU of inetinfo. exe was very high, almost reaching 100%. After looking at the system error log, I found that a service named MS DTC failed to start. The solution is as follows:

Execute the following command under CMD:


cd %windir%\system32\inetsrv
rundll32 wamreg.dll, CreateIISPackage
regsvr32 asptxn.dll

Finally, regsvr32 asptxn. dll prompt failed. After restarting the machine, run the above three commands again, and MS DTC service finally works, but the problem is not solved. I checked it on the Internet for 1 time, saying it was a problem with iis and needed to be reinstalled.

Symptoms: IIS is very slow, don't know asp page, system process inetinfo. exe process accounts for 100% of CPU

1. Uninstall IIS.

2. Delete% windir%\ system32\ inetsrv.

3. Delete% windir%\ iisX. log, X is the IIS version.

4. Reload IIS

After following the above steps, it is found that the problem remains the same, and another solution is tried: delete the IIS log, which is stored in "% windir%\ SYSTEM32\ LogFiles\ W3SVC1", and just delete today's one.

Although the problem of asp web page can't be opened has been solved, asp. net can't be used, and the version of IIS is too low. Therefore, pre install of asp. net installation disk was reinstalled for 1 time, and aspx webpage was still regarded as asp page, which could not be parsed normally.

Prompt when starting debugging: "Debugging cannot be started on Web server".

Then execute on the command line:


cd windows\microsoft.net\framework\v2.0.50727
aspnet_regiis /r

Select the specified application in the IIS default website, click the "Edit" button of Attributes-"Directory Security-" Authentication and Access Control, and tick "Integrated Windows Authentication".

To set IIS, virtual directories, or Web sites, right-click the properties-"aspnet-" to select the aspnet version, and select 2.0.

Finally, aspx web page can be opened normally, asp. net can also be debugged, the problem has been satisfactorily solved.

Use DW to do ASP web page, open with a browser to prompt download, open with DW after downloading, what should I do?

The web page of asp is actually a program, and asp is executed and parsed on the server. It is called a dynamic web page because the web page accessed by the client is calculated by the server in real time according to the ASP program you requested. For example, when you visit an ASP webpage in the morning, you will write "Good Morning" on it, and when you go to see it in the afternoon, you will write "Good Afternoon". This is because the time judgment is written in the ASP program, while the usual HTML can only display static content and cannot make dynamic feedback.

You can install 1 IIS to solve the problem, configuration methods on the Internet there are many, if it is NTFS format partition, pay attention to the authority settings, otherwise the page may not be correctly parsed.

The above content is about the solution that the ASP webpage cannot be opened, and I hope it will be helpful for everyone to learn asp.


Related articles: