How to rename a SWCS company database

How to rename a SWCS company database

Summary

This article explains how to rename a SWCS 4.2 company database.

More Information

There are a few prerequisites that must be met before you rename the company database:

Moving the Company Database

Before you start

  • Make sure that the Solatech Window Covering Software is not running on any computer except the one that currently has the company.

Find the location of the database files

  1. On the computer where the company database currently resides run the Solatech Window Covering Software.
  2. From the File menu click File Manager.
  3. Select the File type Companies.
  4. Write down the Location. This is the folder where the company files are currently stored.
  5. If you are moving the other files (products, reports, etc.) then write down the locations for each file type.

Get the login information for the database

  1. Run Windows Explorer.
  2. Navigate to the folder where the company files are stored.
  3. Find the files for the company you want to move. There will be three files with the same name but different extensions. Find the file with a .psd extension.
  4. Open the .psd file with Notepad.
  5. Locate the words <Host> and </Host>. Between these words is the name of the SQL Server that contains the company database. Write this down.
  6. Leave this file open as you will need to make a change in it later.

Rename the database from the current computer

  1. Close SWCS.
  2. Run Microsoft SQL Server Management Studio Express. To do this click Start, Programs, Microsoft SQL Server 2005, SQL Server Management Studio Express.
  3. When prompted to login, select or enter the name of the SQL server that contains the company database.
  4. Choose 'SQL Server Authentication' for the Authentication method.
  5. Enter a user name of 'sa' and a password of 'swcs'.
  6. Click Connect.
  7. Expand the folder 'Databases'.
  8. Right click on the database for the company you want to rename and choose Rename.
  9. Enter the new name of the database. Use numbers and letters only and no spaces.
  10. Press Enter to save your changes.
  11. Close the management studio.

Edit the company files

  1. Switch back to Notepad where the .psd file is open.
  2. Locate the words <CompanyDatabase> and </CompanyDatabase>.
  3. Change the name between these words to the new name of the database.
  4. Save and close this file.

That's it. No changes need to be made to the other computers running SWCS.

REFERENCES

For more information, refer to the following knowledge base articles:

  • How to rename a company in SWCS 4.2

APPLIES TO

  • Solatech Window Covering Software 4.2

    • Related Articles

    • How to rename a company in SWCS 4.2

      Summary This article explains how to rename a company created in the Solatech Window Covering Software, version 4.2. More Information Starting with with Service Pack 1 of the Solatech Window Covering Software 4.2, the process for renaming a company ...
    • Performing advanced database tasks with SWCS 4.2

      Summary This article explains how a user can perform advanced database management tasks on a SWCS 4.2 company database. More Information The Solatech Window Covering Software version 4.2 uses Microsoft SQL Server 2005 as it's database engine. During ...
    • Update Company Database for QuickBooks Invoice Exporting

      Summary This package will update the company database so that invoices for QuickBooks Desktop can be correctly exported from SWCS. Without this package the sales tax is not included in the invoice export which will prevent it from being imported into ...
    • How to access the SWCS 4.2 company database using SQL Server Management Studio

      This document assumes you are familiar with SQL Server and it's tools and have SQL Server Management Studio installed on your computer. In order to access the SWCS 4.2 company database you'll need to gather some information from SWCS such as  the ...
    • I recently renamed my computer and now I can't open my SWCS company

      Summary This article explains what happens to your Solatech Window Covering Software (SWCS) when you rename a computer. More Information When a SWCS company is created small configuration file, the .psd file, is created and stored in the \Companies ...