PRB: Cannot Delete Web Application Content Within Visual Studio .NET (316499)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition

This article was previously published under Q316499

SYMPTOMS

When you use Microsoft Visual Studio .NET, you cannot delete Web application content from within the Visual Studio environment.

RESOLUTION

To resolve this behavior, do one of the following, or both:
  • Delete the Web applications by using the Microsoft Internet Information Services Manager.
  • Delete the Web content by using Microsoft Windows Explorer.

STATUS

This behavior is by design.

MORE INFORMATION

When you add a Web project by using Visual Studio .NET, a virtual directory is added in Internet Information Services that points to the actual content. If you delete the project by using Solution Explorer, the content is not deleted.

The following steps demonstrate how to delete the Web content:
  1. Using the Internet Information Services Manager, locate the virtual directory that you want to delete.
  2. Right-click the name of the virtual directory, and then click Delete. Click Yes to confirm the deletion of the virtual directory.
After the virtual directory is deleted, the Web application content will be deleted also.

Modification Type:MajorLast Reviewed:1/29/2002
Keywords:kbConfig kbDSupport kbIDEProject kbprb KB316499 kbAudDeveloper