다음을 통해 공유


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

  1. 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.

  2. In SQL Server, delete your site databases.

    Note

    If you must delete the database connection strings, first, detach the databases.

  3. 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

  1. In SQL Server, delete the site OLAP databases.

  2. Expand the nodes to the following path: \Analysis Servers\SQL Server Name.

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

  4. Repeat step 3 for each database that you want to delete.

To delete the site virtual directories

  1. In Internet Information Services (IIS) Manager, expand the nodes to the following path: \<computer name>\<IIS Web site name>.

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

  3. Repeat step 2 for each virtual directory that you want to delete.

To delete the site folders and files

  1. In Windows Explorer, move to the directory where the site files are installed, for example, C:\Inetpub\wwwroot.

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

  3. Repeat step 2 for each folder that you want to delete.

To delete the Direct Mailer jobs

  1. In SQL Server, move to the folder where you store your Direct Mailer jobs.

  2. Select the Direct Mailer job(s) that you want to delete, and then click Delete.

See Also

Other Resources

How to Add a Site

Managing Commerce Sites and Applications

Commerce Server Operations