Yesterday, my colleague MM was debugging an installation. net web server again appears "Visual Studio. NET has detected that the specified Web server is not running ASP. NET 1.1 .. "Let me help you with the error. It took me half a day to fix it. What is the problem?
In the past, she deleted the "default web site" in IIS and created a new site. When the site runs normally, it cannot be compiled or created. If a non-version 1.1 error occurs, the previous error occurs because, the server uses a fixed IP address, and the administrator sets the IP address in the attribute as the specified IP address! Now it is necessary to make a summary!
Follow these steps:
1. Check whether Version 1.1 is installed. Check the path C: WINNTMicrosoft. NETFrameworkv1.1.4322.
2. As many people know, if you reinstall aspnet_regiis and how to install it, I will not say much about it. There are a lot of internet resources!
3. Restart IIS and restart ASP. NET.
4. if your Web server uses a fixed IP address: make sure that "default web site" is used in your "Internet information service" and the IP address in its attribute is "(all are not allocated) instead of the specified IP address. You can modify the name of the "default web site", but do not delete it. Once deleted, the name can be restored as long as it is strictly "default web site" when it is created.
5. If your IE uses a Proxy, check the Bypass Proxy Server for local adresses.
6. If you already have a web site, uninstall it without re-installing vs.net. You only need to reinstall iis.
7. If the problem persists, there is no way to fix it. Reload IIS, FRAMWORK,. NET, and the operating system.
Finally, let's talk about a security problem. Try not to point IIS to the default path C: Inetpubwwwroot, which is very vulnerable to attacks. You 'd better point to a new path and then delete the wwwroot folder, if you need to upload files, you must stop uploading ". "HTA" file to grant website access permissions, block and execute the HTA file, and back up the database!
It is also a bit of work experience for your reference, less detours!
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.