Create an External Connection to an OLE DB
To create an External Connection to an OLE Server Database:
- Open or create a Blueprint.
- Select Managers>External Connections to open the External Connections Manager.
- Click the
Create New button.
The External Connection Wizard opens.
-
Click Next.
The Database Source page opens.
- On the
Login options page:
- Select the Use Trusted Agents check box if you use the Trusted Agents feature and you want to control how the system logs in to the external data source.
- Select one of these options:
- Any Trusted Agent Group: Select to allow any group to handle requests for this External Connection.
- Trusted Agent Group: Select a specific group to handle requests for this External Connection.
- Click Next.
For more information, refer to Import External Data Using Trusted Agents.
- On the
Data Source page:
- Select OLE DB.
-
Click Next.
- On the
OLE DB Provider page:
- Select an
OLE DB Provider.
Note: If you are using Oracle as the provider, there are some differences in the Wizard. For more information, see Create an External Connection to Oracle Drivers should be available from a database vendor. Consult the database vendor for assistance locating this driver. There are also OLE Database drivers from third-party vendors that can be used.
-
Click Next.
- Select an
OLE DB Provider.
- On the
Database Location page:
- Select the
Database Location of the connecting
database:
- Located on this Machine: Select this option if running a local database. Typically, this is only for evaluation systems.
- Specific Server: Select this option to select a database installed on a named server, and then select the named server.
- IP Address: Select this option to select a database installed on a server referenced by an IP address, and then provide the IP address.
- Data Comes from file: Select this
option if the driver connects directly to a file rather than to a database
server.
Note: This radio button is only shown when CSM does not detect if the provider connects to a database or a file.
-
Click Next.
Note: If Data comes from a file is selected on the Database Location page, the Database field is replaced with a File field. - Select the
Database Location of the connecting
database:
- On the
Select Database page:
- Provide the Name of the database/file to which to connect, or click Browse to see a list of available databases/files.
- Click Browse.
- On the
Login to server window, select to use either:
- Windows authentication
- User ID and Password: Provide the server User ID and Password.
-
The system runs for a few minutes, and then the Choose a Value window opens.
- Click a database.
-
Click Next.
- On the
Login Options page:
- If the database requires login information, select the
Login Required check box and either:
- Windows Authentication: Uses the stored Windows credentials (user name and password) for authentication.
- User ID and Password: Provide a
User ID
and
Password.
Note: The account must have select rights for each table that is imported or linked to CSM. If CSM is allowed to update data in the database, this account must also have insert and update rights.
- Click OK.
- If the database requires login information, select the
Login Required check box and either:
- On the
Database Owner or Schema page:
- Click an option from the drop-down or provide a Database owner or schema. This field should be pre-populated.
-
Click Next.
- On the Pooling Options page, select either:
- Use OLE DB connection pooling.
- No pooling.
- On the
Connection name page:
- Provide a Name for the database connection.
- (Optional) Provide a Description for the database connection.
-
Click Next.
The Connection String page opens, showing the connection string that is used to connect to the database. Modify the connection string, if needed. Many examples of connection strings can be found at www.connectionstrings.com.
- Click
Test Connection to verify that the connection to
the server/database.
Text appears next to the button confirming the connection is successful.
-
Click Finish.
There is now a connection to the External OLE Database.
- Publish the Blueprint (File>Publish Blueprint) to commit the changes, or save the Blueprint (File>Save Blueprint) to continue making other changes.