ASP web pages are actually dynamic web pages, which are executed and parsed on the server side. Sometimes it is very strange. I often encounter the situation where the asp webpage cannot be opened. The editor below will sort out some solutions for the asp webpage that cannot be opened. Friends who need it can refer to it.
I encountered a problem today. The asp webpage that I used well could not be opened. At the same time, the CPU usage of inetinfo.exe was very high, almost reaching 100%. After looking at the system error log, I found that a service called MS DTC failed to start. The solution is as follows:
Execute the following command under CMD:
- cd%windir%/system32/inetsrv
- rundll32wamreg.dll,CreateIISPackage
- regsvr32asptxn.dll
At the end, regsvr32 asptxn.dll failed. After restarting the machine, run the above three lines of commands again. The MS DTC service finally became normal, but the problem was not solved. I checked online and found out that it was a problem with iis and that it needed to be reinstalled.
Symptoms: IIS is very slow, does not recognize asp pages, and the system process inetinfo.exe process accounts for 100% of the CPU.
1. Uninstall IIS.
2. Delete %windir%/system32/inetsrv.
3. Delete %windir%/iisX.log, X is the IIS version.
4. Reinstall IIS
After following the above steps, I found that the problem persisted, so I tried another solution: delete the IIS log. The log is stored in %windir%/SYSTEM32/LogFiles/W3SVC1. Just delete today's log.
Although the problem that the asp web page cannot be opened has been solved, asp.net cannot be used because the IIS version is too low. So I reinstalled it using the pre install of the asp.net installation disk, but the aspx web page was still treated as an asp page and could not be parsed normally.
When starting debugging, it prompts: Unable to start debugging on the web server.
So execute on the command line:
- cdwindows/microsoft.net/framework/v2.0.50727
- aspnet_regiis/r
Select the specified application on the IIS default website, click Properties -> Directory Security -> Edit button of Authentication and Access Control, and check Integrate Windows Authentication.
To set up IIS, right-click the virtual directory or website, properties-"aspnet-" select aspnet version and select 2.0.
Finally, the aspx web page can be opened normally, asp.net can also be debugged, and the problem has been successfully solved.
What should I do if I open an ASP webpage made with DW using a browser and it prompts me to download it? After downloading, I open it again using DW.
ASP web pages are actually programs. ASP is executed and parsed on the server side. It is called a dynamic web page because the web page accessed by the client is calculated by the server in real time based on the ASP program you requested. For example, if you visit an ASP webpage in the morning, it will say good morning, and when you visit it in the afternoon, it will say good afternoon. This is because time judgment is written in the ASP program, but ordinary HTML can only display static content. Unable to make dynamic feedback.
You can install an IIS to solve the problem. There are many configuration methods on the Internet. If it is an NTFS formatted partition, pay attention to the permission settings, otherwise the web page may not be parsed correctly.
The above content is about the solution to the problem that ASP web pages cannot be opened. I hope it will be helpful for everyone to learn asp.