Deleting a Site
When you delete a site, the site configuration data is deleted from the Administration database. After you delete a site, you cannot undo the deletion.
To delete a site
To delete the databases used by the site
To delete the OLAP databases for the site
To delete the virtual directories for the site
To delete the site folders and files
To delete the Direct Mailer jobs
To delete a site
- Click Start, point to Programs, point to Microsoft Commerce Server 2002, and then click Commerce Server Manager.
- Expand Commerce Server Manager, and then expand Commerce Sites.
- Right-click the site to be deleted, and then select Delete from the drop-down list.
To delete the databases used by the site
Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
Note
- In SQL Server Enterprise Manager, make sure that SQL Server is running (the icon in the Enterprise Manager window displays a green light). If it is not running, right-click the name of the SQL Server computer, and then click Start.
Expand the nodes to the following path: \Microsoft SQL Servers\SQL Server Group\SQL Server Name\Databases.
Right click the database you want to delete, click All Tasks, and then click Detach Database.
In the Detach Database dialog box, click Clear, and then click OK. Repeat this step for all of the databases you want to delete.
By detaching the databases first, you can delete the connection strings you have to them.
Use Windows Explorer to navigate to the folder \Program Files\Microsoft SQL Server\MSSQL\Data, and delete the database file.
Important
- You must delete the database file after detaching the database or your Commerce Server installation will not function properly.
To delete the OLAP databases for the site
- Click Start, point to Programs, point to Microsoft SQL Server, point to Analysis Services, and then click Analysis Manager.
- Expand the nodes to the following path: \Analysis Servers\SQL Server Name.
- Right-click the database you want to delete, and then click Delete.
- Click Yes to confirm folder deletion for each database you want to delete.
- Repeat Steps 3 and 4 for each database you want to delete.
To delete the virtual directories for the site
- Click Start, point to Administrative Tools, and then click Internet Services Manager.
- Expand the nodes to the following path: \<computer name>\<IIS Web site name>.
- Right-click the virtual directories you want to delete (for example, Retail or Supplier), and then click Delete.
- Click Yes for each virtual directory you want to delete.
- Repeat Steps 3 and 4 for each virtual directory you want to delete.
To delete the site folders and files
- Using Windows Explorer, navigate to the directory (for example, C:\Inetpub\wwwroot) where the site files are installed.
- Right-click the folder you want to delete, and then click Delete.
- Click Yes for each folder you want to delete.
- Repeat Steps 2 and 3 for each folder you want to delete.
To delete the Direct Mailer jobs
- Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
- Expand the nodes to the following path: \Microsoft SQL Servers\SQL Server Group\SQL Server Name\Management\SQL Server Agent\Jobs.
- The Direct Mailer jobs appear in the right pane of SQL Server Enterprise Manager.
- Select the Direct Mailer job(s) you want to delete, and then click the Delete button on the toolbar.
See Also
Deleting a Resource from a Site
Deleting an Application from a Site
Removing a Web Server from an Application
Copyright © 2005 Microsoft Corporation.
All rights reserved.