Difference between revisions of "Setup SQL Server"
Wirecadadmin (Talk | contribs) |
Wirecadadmin (Talk | contribs) |
||
Line 8: | Line 8: | ||
− | <br/>It is not within the scope of this manual to provide an in depth discussion of SQL Server. We will touch on the basics required for use with WireCAD. Basics | + | <br/><br/>It is not within the scope of this manual to provide an in depth discussion of SQL Server. We will touch on the basics required for use with WireCAD. Basics |
The WireCAD distribution includes SQL Server database files for the Global Equipment database. You will need to attach these to the the running server. You will then configure WireCAD to look at the SQL Server for the Global Equipment database. WireCAD projects will create a new database (catalog) for every new project. You will need to set up permissions for each user to allow them dbcreator privileges. This is the default for localhosts but not remote servers. | The WireCAD distribution includes SQL Server database files for the Global Equipment database. You will need to attach these to the the running server. You will then configure WireCAD to look at the SQL Server for the Global Equipment database. WireCAD projects will create a new database (catalog) for every new project. You will need to set up permissions for each user to allow them dbcreator privileges. This is the default for localhosts but not remote servers. | ||
Line 52: | Line 52: | ||
| Attach The WireCAD Global Equipment Database | | Attach The WireCAD Global Equipment Database | ||
| {{note|The following assumes that you are installing WireCAD on a local machine. If you are installing on a server you will want to copy the global database files to the server before you attach them to the server.}}[[File:Ssms attach db dlg.png|Attach Database]] | | {{note|The following assumes that you are installing WireCAD on a local machine. If you are installing on a server you will want to copy the global database files to the server before you attach them to the server.}}[[File:Ssms attach db dlg.png|Attach Database]] | ||
− | + | <br/>Click the '''[Add]''' button on the Attach Databases form and browse to: | |
− | + | ||
− | Click the '''[Add]''' button on the Attach Databases form and browse to: | + | |
'''XP:'''<br/>C:\Documents and Settings\All Users\Shared Docs\WireCAD\WireCAD6\WireCAD_Global_Equipment.MDF | '''XP:'''<br/>C:\Documents and Settings\All Users\Shared Docs\WireCAD\WireCAD6\WireCAD_Global_Equipment.MDF | ||
Line 60: | Line 58: | ||
'''VISTA/7:'''<br/>Public\Public Documents\WireCAD\WireCAD6\WireCAD_Global_Equipment.MDF | '''VISTA/7:'''<br/>Public\Public Documents\WireCAD\WireCAD6\WireCAD_Global_Equipment.MDF | ||
− | The form will | + | The form will add WireCAD_Global_Equipment_log.LDF file automatically. You will need [Remove] that record. |
− | Click OK to attach the database. | + | Click [OK] to attach the database. |
|- | |- | ||
Line 88: | Line 86: | ||
| You can place this installer in a different folder but you will need to know the FULL path to find this. | | You can place this installer in a different folder but you will need to know the FULL path to find this. | ||
− | '''Example: C:\Users\BobsPC\My Documents\Applications\........''' | + | '''Example: C:\Users\BobsPC\My Documents\Applications\........''' [[File:Downloads Folder1.png|Downloads Folder]] |
− | [[File:Downloads Folder1.png|Downloads Folder]] | + | |
|- | |- | ||
| 2. Once your installer/exe is placed where you would like it, rename it to something simple. | | 2. Once your installer/exe is placed where you would like it, rename it to something simple. |
Revision as of 10:53, 15 September 2014
Command Line Shortcut: none User Permissions Level: All |
Contents
It is not within the scope of this manual to provide an in depth discussion of SQL Server. We will touch on the basics required for use with WireCAD. Basics
The WireCAD distribution includes SQL Server database files for the Global Equipment database. You will need to attach these to the the running server. You will then configure WireCAD to look at the SQL Server for the Global Equipment database. WireCAD projects will create a new database (catalog) for every new project. You will need to set up permissions for each user to allow them dbcreator privileges. This is the default for localhosts but not remote servers.
There is no further requirement to attach databases once the Global Equipment database.
SQL Server can be set up on a server or on a local machine.
Where to Download SQL Server
WireCAD requires a minimum of SQL Server 2005 (will also work with later versions) and can use the Express versions which can be found here:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=22625
Be sure to download SQL Server Management Studio Express as well. Both are free.
http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&DisplayLang=en
SQL Server does not provide a graphical user interface so you will want to download the management studio listed above.
Note: If you are installing SQL Server Managment Studio on Windows 7 64bit, please see specific instructions at the bottom of the page. |
Setting Up the WireCAD Global Databases on SQL Server
Specific Instructions For Installing SQL Management Studio On Windows 7 64bit
Step | Description |
---|---|
1. Place your SQL Server Management Studio Installer in your user downloads folder.
Example:My Computer>(Your Hard Drive)>Users>(your username)>downloads |
You can place this installer in a different folder but you will need to know the FULL path to find this. |
2. Once your installer/exe is placed where you would like it, rename it to something simple.
Example:SQL Managment or Managment Studio |
You dont have to rename however it will help simplify things in the next couple steps. |
3. Click the "Start" button and type CMD in the search bar. | At the top of the search window, you should see the CMD Icon under the programs tree. |
4. RIGHT CLICK AND RUN AS ADMINISTRATOR | It is very important to run as an administrator to complete the install successfully. |
5. With the command prompt open, type the Full path for your installer including the file name. Example: C:\Users\BobsPC\Downloads\SQLMANAGMENT.msi | Regardless of what you rename the file to, the file extension will remain .msi and you MUST put it in the command prompt. You also need to make sure there are no spaces in your file name. |
6. Press enter and if you have typed the folder path correctly, the installer will run as intended. | If you receive an error in the CMD prompt, you will need to double check your folder path and try again. |