How to Remove Commerce Server Web Sites

To uninstall a Commerce Server Web site, complete these procedures in the order shown:

  1. Delete the Commerce Server Databases

  2. Delete the Commerce Server Site Virtual Directories

  3. Delete the Commerce Server Site Folders and Files

Delete the Commerce Server Databases

Follow these steps to delete one or more Commerce Server databases from SQL Server.

To delete the Commerce Server databases

  1. Click Start, point to All Programs, point to Microsoft SQL Server 2008, and then click SQL Server Management Studio.

  2. In the Connect to Server dialog box, select the name of the computer hosting SQL Server, and then click Connect.

  3. In SQL Server Management Studio, in the left pane, expand <server_name>, and then expand Databases.

  4. Right-click the database that you want to delete, and then click Delete.

  5. In the Delete Object dialog box, click OK.

  6. Repeat step 4 and 5 for each Commerce Server database.

Delete the Commerce Server Site Virtual Directories

If you unpacked a site, you must follow these steps to delete the site virtual directories. These include virtual directories for the site and Commerce Server Web services, such as Catalog, Marketing, Orders, and Profiles.

To delete the Commerce Server site virtual directories

  1. Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. In Internet Services Manager, expand the nodes to the following path: \<Computer name>\Web Sites\Default Web Site\<IIS Web site name>.

  3. Right-click the virtual directories that you want to delete, and then click Remove.

  4. In the ConfirmRemove dialog box, click Yes.

  5. Repeat these steps for each virtual directory you want to delete.

Delete the Commerce Server Site Folders and Files

If you unpacked a site, you must follow these steps to delete the site folders and files. These include any folders and files for the Commerce Server Web services, such as Catalog, Marketing, Orders, and Profiles.

To delete the Commerce Server site folders and files

  1. In Windows Explorer, locate the directory where you installed the site files, for example, <drive>:\inetpub\wwwroot.

  2. Right-click the folder that you want to delete, and then click Delete.

  3. In the Confirm Folder Delete dialog box, click Yes to confirm the deletion.

  4. Repeat steps 2 and 3 for each folder that you want to delete.