How to Remove a Site
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
This topic provides steps for removing a site in Commerce Server 2007. When you remove a site, the site configuration data is deleted from the Administration database. After you remove a site, you cannot undo the deletion.
Removing a Commerce site involves deleting the databases, virtual directories, folders, files, and jobs that are associated with the removed site.
To delete the site databases
Make sure that SQL Server is running. If it is not running, right-click the name of the computer that is running SQL Server, and then click Start.
In SQL Server, delete your site databases.
Note
If you must delete the database connection strings, first, detach the databases.
In Windows Explorer, move to the folder \Program Files\Microsoft SQL Server\MSSQL\Data, and delete the database file.
Note
You must delete the database file after detaching the database or your Commerce Server installation will not function correctly.
To delete the site OLAP databases
In SQL Server, delete the site OLAP databases.
Expand the nodes to the following path: \Analysis Servers\SQL Server Name.
Right-click the database that you want to delete, and then click Delete.
Repeat step 3 for each database that you want to delete.
To delete the site virtual directories
In Internet Information Services (IIS) Manager, expand the nodes to the following path: \<computer name>\<IIS Web site name>.
Right-click the virtual directories that you want to delete, and then click Delete.
Repeat step 2 for each virtual directory that you want to delete.
To delete the site folders and files
In Windows Explorer, move to the directory where the site files are installed, for example, C:\Inetpub\wwwroot.
Right-click the folder that you want to delete, and then click Delete.
Repeat step 2 for each folder that you want to delete.
To delete the Direct Mailer jobs
In SQL Server, move to the folder where you store your Direct Mailer jobs.
Select the Direct Mailer job(s) that you want to delete, and then click Delete.