| |
 |
|
 |
| |
Step 1 - Choose the Import and Export Data program from the Start-menu |
|
Step 2 - The Data Transformation Services Import/Export Wizard application is launched. Click Next to continue. |
    |
| |
 |
|
 |
| |
Step 3 - Set the Data Source field to MS Access. Now, the File name field will be enabled. Enter the a valid location where the Environmental.mdb is located. The file is located on the server where ActiveXperts Network Monitor is installed. If you want, you can copy the Environmental.mdb file first to the SQL server. The file is needed for its data structure. Click Next to continue. |
|
Step 4 - Choose a desination database. Click on the Database selection box at the bottom of the dialog and choose New. The Create Database dialog will popup. Provide a name for the new database. In the above dialog,
we called this new database Environmental. Click Next to continue. |
    |
| |
 |
|
 |
| |
Step 5 - Choose a destination. Select Microsoft OLE DB Provider for SQL Server as the destination (this is already selected by default), and Select the new Environmental database in the Database selection box. Click Next to continue. |
|
Step 6 - Copy Tables. Start copying tables by clicking on the Next button. |
    |
| |
 |
|
 |
| |
Step 7 - Select source tables and views. Leave all fields default and click on Next. |
|
Step 8 - Save, schedule and replicate package. Leave all fields default and click on Next. |
    |
| |
 |
|
 |
| |
Step 9 - Complete the Wizard. Click on Finish to start the Import. |
|
Step 10 - The Import is finished now. The only thing that is left, is to change the design of the tables in the Environmental database: the primary key of the Temperatures, Humidity and Wetness tables must be set to autonumbering. You can use the Enterprise Manager to make that change. Select the Enterprise Manager from the Start Menu to launch it. |
    |
| |
 |
|
 |
| |
Step 11 - Select the Environmental database, then select the Temperatures table and go to design mode of the table by selecting the 'Design View' menu from the context popup menu (right-click on the table). Now, select the numID field and set the Identity to Yes. Close all dialogs now (save the changes you made), Repeat these steps for the Humidity and Wetness tables. |
|
Step 12 - In the Network Monitor Manager application, change the connection strings for all checks that must log to the SQL database.
To configure SQL logging, open the Temperature/Humidity/Wetness check, click on the Logging Settings button and change the Connection string field. Be sure that you include the name of the SQL server in the connection string. For example, if your SQL server is called SQL01 and the logonname of the database is sa with password sa1, the following string would be a valid connection string: DRIVER={SQL Server}; Server=SQL01; Database=environmental; UID=sa; PWD=sa1. |