HOWTO:MoveProjectServer

From WireCAD Online Help
Jump to: navigation, search
Command Line Shortcut: Varied

User Permissions Level: All
Product Level: All
If you need to change the sql server that WireCAD looks at you will need to follow these procedures.




Bulbgraph.png Note: You will need to use MS Sql Server Management Studio (SSMS), and a text editor like Notepad.exe for the following procedures.


Before You Start

This procedure assumes that you are not afraid of editing text files and working with SQL Server. It also assumes that the project databases and global equipment databases are SQL Server based.

Removing the Files from the Old Server

  1. Launch SMSS and log in to the old server. We can't tell you how to do this. It's your server and your login. Here is tutorial on starting up a SQL Server [Setup_SQL_Server|click here]
  2. Select the WireCADGlobalEquipment database and right-click. The click Properties. Then the Files page. Note the file locations. We will need this information later.
  3. Close the properties window
  4. Right-click the WireCADGlobalEquipment database again then click Tasks>Detach...
  5. Now click Detach/OK

Repeat this process for ALL PROJECT databases.

Move Files to New Server

  1. The files you noted in step 2 above will need to be moved to the new server.
  2. Log SMSS into the new server. We can't tell you how to do this. It's your server and your login. Here is tutorial on starting up a SQL Server [Setup_SQL_Server|click here]
  3. Right-click the server node in the object browser and Attach all of the databases from the old server.


Edit *.WC6PLF Files to Point to New Server

Now you will edit the project files so that they point to the new SQL server.

  1. Open the project's YOUR_PROJECT_NAME.wc6plf file in a text editor and edit the following segments:

<DatabaseHost>NEW_HOST_NAME</DatabaseHost>
<DatabaseUser>NEW_USERNAME</DatabaseUser>
<DatabasePassword>NEW_PASSWORD</DatabasePassword>

Edit the Application Settings to Point to New Server

  1. Open WireCAD
  2. Click Project>Application Setup Wizard.
  3. Proceed through the wizard pages and enter necessary host info and log in.
  4. Relaunch WireCAD
  5. Test open all modified project and make sure they can see the databases.


Done.