How to rename a SWCS company database
Summary
This article explains how to rename a SWCS 4.2 company database.
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
- On the computer where the company database currently resides run the Solatech Window Covering Software.
- From the File menu click File Manager.
- Select the File type Companies.
- Write down the Location. This is the folder where the company files are currently stored.
- 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
- Run Windows Explorer.
- Navigate to the folder where the company files are stored.
- 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.
- Open the .psd file with Notepad.
- Locate the words <Host> and </Host>. Between these words
is the name of the SQL Server that contains the company database. Write
this down.
- Leave this file open as you will need to make a change in it later.
Rename the database from the current computer
- Close SWCS.
- Run Microsoft SQL Server Management Studio Express. To do this click
Start, Programs, Microsoft SQL Server 2005, SQL Server Management
Studio Express.
- When prompted to login, select or enter the name of the SQL server that contains the company database.
- Choose 'SQL Server Authentication' for the Authentication method.
- Enter a user name of 'sa' and a password of 'swcs'.
- Click Connect.
- Expand the folder 'Databases'.
- Right click on the database for the company you want to rename and choose Rename.
- Enter the new name of the database. Use numbers and letters only and no spaces.
- Press Enter to save your changes.
- Close the management studio.
Edit the company files
- Switch back to Notepad where the .psd file is open.
- Locate the words <CompanyDatabase> and </CompanyDatabase>.
- Change the name between these words to the new name of the database.
- 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 ...
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 ...
SWCS 4.x can't access a SQL Server 2005 database
Symptoms When you attempt to open a company file located on a server using SQL Server 2005 you receive the following error message: The company '...' is not a valid company or you don't have permission to access it. Check with your system ...
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 ...