Advanced Installation TopicsUninstall Sana Commerce

Uninstall Sana Commerce

Sana Commerce 9.3
Your connector

Uninstall Sana Webstore

There is no uninstaller program for Sana Commerce to automate the uninstallation procedure. Therefore, you should do it manually. The uninstallation procedure consists of the following steps:

  • Create a Backup of the Solution (optional);
  • Drop the Sana Commerce SQL Server Database;
  • Remove the NT Users;
  • Remove the Web Applications from the IIS;
  • Delete the Log Files;
  • Delete the Sana Commerce Source Code.

See detailed description of these steps below.

Create a Backup of the Solution (optional)

You may want to create a backup of the Sana Commerce solution before uninstalling it if you plan to restore it again in future. For instructions on how to backup or restore Sana Commerce, please follow this link.

Drop the Sana Commerce SQL Server Database

This step consists of two sub-steps: the dropping of the database and the deletion of the database login associated with it. To drop the SC database, take the following actions:

Step 1: Open the SQL Server Management Studio and connect to the database server, where the Sana Commerce SQL Server database is running.

Step 2: Right-click on the Sana Commerce database name and select the 'Delete' menu item.

Step 3: Click the 'OK' button in the confirmation window that opens.

To delete the database login associated with the SC database do the following:

Step 1: In the SQL Server Management Studio open the 'SQL server instance > Security > Logins' in the Object Explorer panel.

Step 2: Locate the SQL Server Login which is used as a login for the Sana Commerce database.

Step 3: Make sure that this SQL Server Login is used only for the SC database which has just been dropped. If this login is also used for the other databases, then do not delete it and proceed to the next paragraph. Otherwise, if this login is used only for the SC database, then right-click on the Object Explorer and select the 'Delete' menu item.

Step 4: Click the 'OK' button in the window that opens to confirm the deletion of the login.

Remove the NT Users

According to the installation manual two NT users were created, which are referred to as SC_Webuser and SC_NAVUser. These users must be deleted from the system.

In order to remove the local users, perform the following steps:

Step 1: Open the 'Computer Management' console available in 'Control Panel > Administrative Tools > Computer Management'.

Step 2: Expand the 'System Tools > Local Users and Groups > Users' node.

Step 3: One by one right-click on all the SC users in the right panel and select the 'Delete' menu item.

Step 4: For each user confirm the deletion by clicking the 'OK' button in the window that pops up.

In case the domain users are used instead of the local users, refer to the Active Directory help article.

Remove the Web Applications from the IIS

Step 1: Find the Sana Commerce frontend website in the IIS Management Console.

Step 2: Right-click on the website node and select the 'Remove' submenu if you use IIS 7 or newer, or select the 'Delete' submenu if you use IIS 6. Check that the corresponding application pool is removed as well. Note that in IIS 5.1 or older it is not possible to remove the website.

Step 3: Confirm the deletion operation.

Step 4: If the Sana Commerce backoffice is installed as a separate website, but not as a virtual directory, then repeat the same steps for the backoffice as well.

Delete the Log Files

Step 1: Find the location where the log files are written by the Sana Commerce web applications. The location where the log files are stored is determined in the 'Web.config' file of the frontend, the <listeners> configuration section.

Step 2: Delete the folder with the Sana Commerce log files completely.

Delete the Sana Commerce Source Code

Navigate to the folder where Sana Commerce has been installed and delete the Sana Commerce source code folder completely.

Advanced Installation TopicsUninstall Sana Commerce