VS2005 Problem: If Visual Web Developer Web Server is not installed in C:, Web Site Administration Tool problem

zhaozj2021-02-16  92

Originally trying to use the Web Site Administration Tool to try, found that if Visual Web Developer Web Server is not installed in C:, you can't use the Web Site Administration Tool :(. For a long time, the official announced a solution, but I tried or No, WHO CAN GIVE SOGGESTION?

Official method:

4.13. Web Site Administration Tool Defaults to Drive C With Visual Web Developer Web Server.

When you use the Web Site Administration Tool (by selecting ASP.NET Configuration from the Website menu), you can encounter a problem under the following circumstances: Windows is installed on a drive other than drive c, and you are using a file system Web SIHICH IS The Default for the File System Web Sites. This Problem Does NOT OCCUR IF you are uses IIS as the web server.

To resolve this issue

By default, the Visual Web Developer Web server attempts to load the Web Site Administration Tool from a path on drive C. You can fix this issue by editing the Machine.config file, which you can find at Windows-installation-location / Microsoft. Net / framework / v2.0.nnnnn/ config / machine.config. It is recommented That You make a backup copy of the machine.config file beforeing it.

Open the file machine.config and locate the

ELEMENT.

Edit the

Attribute to Point to the Correct location:

Windows-installation-location / microsoft.net / framework / v2.0.nnnn / asp.NetWebadminfiles / Default.aspx, where:

Windows-installation-location is the drive and folder where Windows is installed (such as D: / Windows) nnnnn represents a five-digit build number If there is more than one build number, use the highest one..

Note: The value of the

Attribute Might Be Sometying Like The Following:

D: /Windows/Microsoft.Net/framework/v2.0.40528/ASP.NetWebadminfiles/default.aspx

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

New Post(0)