1. Home
  2. Help Center
  3. Clean up On-premise data

Clean up On-premise data

The LocalDB database and files on the file system are not removed when uninstalling the Admin Portal. To completely remove all customer data, follow these steps to clean up the remaining files.

This is important to keep in mind when upgrading, downgrading, or reinstalling the software if you want to start with a fresh installation.

The MongoDB database and its data are removed automatically during the uninstallation of the Admin Portal.

Cleanup of LocalDB

The following steps require SQL LocalDB to be installed. To ensure this, perform them while the Admin Portal is installed (either before uninstallation or after a fresh installation).

 

1. Stop the CD Platform Host

 

2. Download PSExec (http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx)

 

3. Using PSExec, start cmd.exe as administrator and run command: psexec -i -s cmd.exe

 

4. In the newly opened command prompt, execute the following commands to stop and delete the LocalDB instance:

sqllocaldb p MSSQLLocalDB
sqllocaldb d MSSQLLocalDB

 

5. Navigate to C:\Windows\System32\config\systemprofile and delete the following files:

SmartSupplyAdministration.mdf

SmartSupplyAdministration_log.ldf

 

6. Start the CD Platform service (or restart the computer). Note: Starting the Admin Portal services will take longer than usual due to the creation of new databases.

 

Alternative option: Uninstall the Admin Portal and perform a fresh installation to change the customer or brand.

 

Clean up on file system

 

Stop CD Platform services (if still installed and running)

Delete folder C:\Storage

Was this article helpful?

Contact Support

Can't find the answer you're looking for?
Email us