"Visual Studio .NET has detected a solution that is not ASP.NET version 1.1 version of the specified web server ..."

xiaoxiao2021-03-06  13

Yesterday, my colleague MM debugged a .NET web server, "Visual Studio .NET has detected the specified web server running is not ASP.NET version 1.1 version ..", told me to help, do it. For a long time, I will get it. What is the problem?

It turns out that she deletes the "default web site" in IIS. She has built a site. It is normal, which is unable to compile. It is not possible. There is a non-1.1 version error. The previous error is because the server uses fixed IP, and the administrator Set the IP address in the property as the specified IP address! It is also necessary to make a summary now!

Steps try as follows:

1. Of course, first determine, do you really load 1.1 version, check the path C: /Winnt/Microsoft.Net/framework/v1.1.4322

2. Many people know that reinstall ASPNET_REGIIS, how to install, not to say, there are many online!

3. Restart IIS, restart the ASP.NET service

4. If your web server uses fixed IP: Determines the "Internet Information Service" to use the "default Web site" and its properties "(all unallocated)", not your own IP address. You can modify the name of the Default Web Site, but don't delete it, once deleted, as long as you start, the name is strict "default Web site" can also be restored

5. If your IE uses the agent, put the ByPass Proxy Server for Local Adresses.

6. If you already have a Web site, please uninstall it, don't reinstall the VS.NET, just reinstall IIS.

7. If you still don't do it, then there is no way, then reload the IIS, FRAMWORK, .NET, operating system.

Finally, it is easy to tell IIS to the default path. C: / inetpub / wwwroot path is easy to attack, it is best to point to a new path, then delete the wwwroot folder, need users to upload files, thousand Mixes prevent upload ".hta" files, do the permissions to access the website, shield the HTA file, do the database backup work!

It is a little experience in work, for your reference, less detours!

转载请注明原文地址:https://www.9cbs.com/read-48459.html

New Post(0)