Microsoft KB Archive/316499

= PRB: Cannot Delete Web Application Content Within Visual Studio .NET =

Article ID: 316499

Article Last Modified on 1/29/2002

-

APPLIES TO


 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Developer

-



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.

Additional query words: VS .NET can't remove

Keywords: kbprb kbconfig kbideproject KB316499

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.