473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VS 2005 Delete a Website

Hello,

I have created many sample web sites for testing and now I would like
to do some cleanup.

When doing searches, it seemed that there were a good number of
approaches to removing a web site / application from Visual Studio -
some mentioning the use of IIS.

Is there an official suggestion on how to remove unwanted sites
~safely~ from Visual Studio?

Any help, hints or advice is appreciated ;-)

TIA

Nov 19 '05 #1
8 2188
Just delete the website's files.

The next time you open VS.NET, you will be prompted
for removal of the website from the list of recent projects.

The default location for VS.NET website files is in

My Documents\Visual Studio
and
My Documents\Visual Studio 2005

If you don't want to delete them, just move them anywhere else.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"milkyway" <d0******@hotmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hello,

I have created many sample web sites for testing and now I would like
to do some cleanup.

When doing searches, it seemed that there were a good number of
approaches to removing a web site / application from Visual Studio -
some mentioning the use of IIS.

Is there an official suggestion on how to remove unwanted sites
~safely~ from Visual Studio?

Any help, hints or advice is appreciated ;-)

TIA

Nov 19 '05 #2
Maybe I should make myself clearer.

Do NOT just delete an IIS Application's files.

That would cause problems if you need to
reuse the Application's name at a later time.

I'm refering to the File System websites created by VS.NET.
For *those*, you can just delete the website's files.

If you've published a VS website to an IIS site, the correct way
to get rid of it is to unload the Application using the IIS Manager,
and *then* you can safely delete any files you want to.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:OZ**************@tk2msftngp13.phx.gbl...
Just delete the website's files.

The next time you open VS.NET, you will be prompted
for removal of the website from the list of recent projects.

The default location for VS.NET website files is in

My Documents\Visual Studio
and
My Documents\Visual Studio 2005

If you don't want to delete them, just move them anywhere else.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"milkyway" <d0******@hotmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hello,

I have created many sample web sites for testing and now I would like
to do some cleanup.

When doing searches, it seemed that there were a good number of
approaches to removing a web site / application from Visual Studio -
some mentioning the use of IIS.

Is there an official suggestion on how to remove unwanted sites
~safely~ from Visual Studio?

Any help, hints or advice is appreciated ;-)

TIA


Nov 19 '05 #3
Thank you for responding ;-)

I had created the directories for the websites using the option of
"Empty Website". When doing that, it would pretty much just create a
directory. Then, into that directory, I would put in some sample files
(since I am still trying to learn how to use this software).

So, what you are saying is that I can just remove the directory holding
the files and everything will be OK? I have not published anything - at
least I think, I don't know how to do that yet - but - the IIS server
has been started and when I test the files, it does seem to use the
server to locate them.

Nov 19 '05 #4
re:
So, what you are saying is that I can just remove the
directory holding the files and everything will be OK?
Exactly.

VS.NET will prompt you for whether you want to remove
that website from the recently-opened websites list the
next time you open VS.NET ( In VS 2005, at least. )

IIRC, the website just disappeared from VS.NET 2003.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"milkyway" <d0******@hotmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com... Thank you for responding ;-)

I had created the directories for the websites using the option of
"Empty Website". When doing that, it would pretty much just create a
directory. Then, into that directory, I would put in some sample files
(since I am still trying to learn how to use this software).

So, what you are saying is that I can just remove the directory holding
the files and everything will be OK? I have not published anything - at
least I think, I don't know how to do that yet - but - the IIS server
has been started and when I test the files, it does seem to use the
server to locate them.

Nov 19 '05 #5
Thanks - that worked like you said ;-))

Nov 19 '05 #6
> If you've published a VS website to an IIS site, the correct way
to get rid of it is to unload the Application using the IIS Manager,
and *then* you can safely delete any files you want to.
There is another (easier) alternative (assuming it is a child web and not a
root web). If you open the IIS Manager snap-in and right-click the web site
(application) folder, you will see a "Delete" context menu item. Selecting
this causes the web site to be removed from the IIS MetaBase, AND deletes
the folders.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
I'd rather be a hammer than a nail.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:e7**************@TK2MSFTNGP14.phx.gbl... Maybe I should make myself clearer.

Do NOT just delete an IIS Application's files.

That would cause problems if you need to
reuse the Application's name at a later time.

I'm refering to the File System websites created by VS.NET.
For *those*, you can just delete the website's files.

If you've published a VS website to an IIS site, the correct way
to get rid of it is to unload the Application using the IIS Manager,
and *then* you can safely delete any files you want to.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:OZ**************@tk2msftngp13.phx.gbl...
Just delete the website's files.

The next time you open VS.NET, you will be prompted
for removal of the website from the list of recent projects.

The default location for VS.NET website files is in

My Documents\Visual Studio
and
My Documents\Visual Studio 2005

If you don't want to delete them, just move them anywhere else.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"milkyway" <d0******@hotmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hello,

I have created many sample web sites for testing and now I would like
to do some cleanup.

When doing searches, it seemed that there were a good number of
approaches to removing a web site / application from Visual Studio -
some mentioning the use of IIS.

Is there an official suggestion on how to remove unwanted sites
~safely~ from Visual Studio?

Any help, hints or advice is appreciated ;-)

TIA



Nov 19 '05 #7
There's no undelete after you do that, either, is there ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl...
If you've published a VS website to an IIS site, the correct way
to get rid of it is to unload the Application using the IIS Manager,
and *then* you can safely delete any files you want to.
There is another (easier) alternative (assuming it is a child web and not a root web).
If you open the IIS Manager snap-in and right-click the web site (application) folder,
you will see a "Delete" context menu item. Selecting this causes the web site to be
removed from the IIS MetaBase, AND deletes the folders.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
I'd rather be a hammer than a nail. "Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:e7**************@TK2MSFTNGP14.phx.gbl...
Maybe I should make myself clearer.

Do NOT just delete an IIS Application's files.

That would cause problems if you need to
reuse the Application's name at a later time.

I'm refering to the File System websites created by VS.NET.
For *those*, you can just delete the website's files.

If you've published a VS website to an IIS site, the correct way
to get rid of it is to unload the Application using the IIS Manager,
and *then* you can safely delete any files you want to.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:OZ**************@tk2msftngp13.phx.gbl...
Just delete the website's files.

The next time you open VS.NET, you will be prompted
for removal of the website from the list of recent projects.

The default location for VS.NET website files is in

My Documents\Visual Studio
and
My Documents\Visual Studio 2005

If you don't want to delete them, just move them anywhere else.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"milkyway" <d0******@hotmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Hello,

I have created many sample web sites for testing and now I would like
to do some cleanup.

When doing searches, it seemed that there were a good number of
approaches to removing a web site / application from Visual Studio -
some mentioning the use of IIS.

Is there an official suggestion on how to remove unwanted sites
~safely~ from Visual Studio?

Any help, hints or advice is appreciated ;-)

TIA



Nov 19 '05 #8
Nope!

--
;-),

Kevin Spencer
Microsoft MVP
..Net Developer
I'd rather be a hammer than a nail.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
There's no undelete after you do that, either, is there ?

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Kevin Spencer" <ke***@DIESPAMMERSDIEtakempis.com> wrote in message
news:ej**************@TK2MSFTNGP11.phx.gbl...
If you've published a VS website to an IIS site, the correct way
to get rid of it is to unload the Application using the IIS Manager,
and *then* you can safely delete any files you want to.

There is another (easier) alternative (assuming it is a child web and not
a root web). If you open the IIS Manager snap-in and right-click the web
site (application) folder, you will see a "Delete" context menu item.
Selecting this causes the web site to be removed from the IIS MetaBase,
AND deletes the folders.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
I'd rather be a hammer than a nail.

"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:e7**************@TK2MSFTNGP14.phx.gbl...
Maybe I should make myself clearer.

Do NOT just delete an IIS Application's files.

That would cause problems if you need to
reuse the Application's name at a later time.

I'm refering to the File System websites created by VS.NET.
For *those*, you can just delete the website's files.

If you've published a VS website to an IIS site, the correct way
to get rid of it is to unload the Application using the IIS Manager,
and *then* you can safely delete any files you want to.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.com> wrote in message
news:OZ**************@tk2msftngp13.phx.gbl...
Just delete the website's files.

The next time you open VS.NET, you will be prompted
for removal of the website from the list of recent projects.

The default location for VS.NET website files is in

My Documents\Visual Studio
and
My Documents\Visual Studio 2005

If you don't want to delete them, just move them anywhere else.

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
"milkyway" <d0******@hotmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
> Hello,
>
> I have created many sample web sites for testing and now I would like
> to do some cleanup.
>
> When doing searches, it seemed that there were a good number of
> approaches to removing a web site / application from Visual Studio -
> some mentioning the use of IIS.
>
> Is there an official suggestion on how to remove unwanted sites
> ~safely~ from Visual Studio?
>
> Any help, hints or advice is appreciated ;-)
>
> TIA
>



Nov 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

54
by: m.roello | last post by:
In the book: "Working with Microsoft Visual Studio 2005" Craig Skibo wrote: "The power of Visual Studio 2005 lies in its ability to empower users to build, test, and debug powerful applications...
1
by: ib | last post by:
First time I've tried this so I'm probably doing something stupid. 1. Create a new folder: C:\Inetpub\wwwroot\dn2. Make dn2 an application in IIS settings. 2. Start dotnet 2005 and Start a new...
0
by: Wayne Sepega | last post by:
We are using windows 2003 standard server, VSS 2005 and VS 2005 (mostly team dev, but some team arch and suite) We run windows 2003 on our development boxes, this gives us the ability to host...
12
by: Nathan Sokalski | last post by:
I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET 2005. In Visual Studio .NET 2003 when I would select 'Build' it would add a *.dll with the name of the Project to a /bin/...
0
by: rmk | last post by:
How can I get the 2000 and 2005 versions of SQL Server Reporting Services both working on my development laptop ????? I have ASP.NET 1.1 and 2.0 installed on my laptop. I have Visual Studio...
9
by: Leon | last post by:
Hi Everybody. I have my website developed in VS 2003. Now I want to upgrade my website to VS 2005 and develop new web pages in a new environment. What steps should I take to upgrade? I cannot find...
3
by: Nick Gilbert | last post by:
Hi, In my VS.NET 2005, if I choose Build Clean Solution, the BIN folder is not touched. Shouldn't it delete all the dll and pdb files in that folder first? Instead, I'm finding I have to do it...
3
by: moondaddy | last post by:
What's the preferred (best) way to start a website project in VS 2005? I know of 2 ways and each creates a site differently and has different behavior. Open VS 2005 1) from the start page...
2
by: mr t | last post by:
I have a website set up this way... http://localhost <- project root. http://localhost/Files <- vir dir (not application. just vir dir) with write permissions. 1. Start VS.NET 2005 debugging....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.