Use this procedure to ensure connectivity with a relational data source.
Many of us will be running side-by-side installations of MSSQL Server 2000 and MSSQL Server 2005. This means that our installation of the latter will need to be referenced, within a data source context, as a server / instance combination, versus a server name alone (the default for the Adventure Works DW project samples connection is localhost).
From within the open Analysis Services project, in the SQL Server Business Intelligence Development Studio, take the following steps:
- Double-click Adventure Works.ds, within the Data Sources folder seen in Solution Explorer.
The Data Source Designer opens, defaulted to the General tab, and appears with default settings as shown in Illustration 1.
Illustration: The Data Source Designer with Default Settings ...
- Click the Edit button on the Data Source Designer dialog.
The Connection Manager opens, and appears with default settings depicted in Illustration 2.
Illustration 2: The Connection Manager with Default Settings ...
We note that the default Server name is Localhost. While this might prove an adequate setting for a PC with only MSSQL Server 2005 installed (default instance), in the case of many of our installations, the requirement here is for the server / instance combination that correctly identifies the correct MSSQL Server 2005 instance. (Clicking the Test Connection button at this point will provide confirmation as to whether we need to modify Server name).
- If appropriate, type the correct server / instance name into the Server name box of the Connection Manager. (Mine is MOTHER1\MSSQL2K5, as shown in Illustration 3.)
Illustration 3: The Connection Manager, with Corrected Settings ...
- Ensure that AdventureWorksDW is selected in the box labeled Select or enter a database name in the Connect to a database section of the Connection Manager dialog.
- Ensure that authentication settings are correct for the local environment.
- Click the Test Connection button.
A Connection Manager message box appears, indicating that the Test connection succeeded, assuming that our changes (or lack of same, as appropriate) are proper. The message box appears as depicted in Illustration 4.
Illustration 4: Testing Positive for Connectivity ...
- Click OK to dismiss the message box.
- Click OK to accept changes, as appropriate, and to dismiss the Connection Manager.
The Data Source Designer reappears, with our modified settings, similar to that shown in Illustration 5.
Illustration 5: The Data Source Designer with Modified Settings ...
- Click OK to close the Data Source Designer, and to return to the development environment.