Creating a Data Source (Basic Data Mining Tutorial)

A data source is a data connection that is saved and managed in your project and deployed to your Microsoft SQL Server Analysis Services database. The data source contains the names of the server and database where your source data resides, in addition to any other required connection properties.

Important

The name of the database is AdventureWorksDW2008. If you have not already installed this database, see Installing SQL Server 2008

To create a data source

  1. In Solution Explorer, right-click the Data Sources folder and select New Data Source.

  2. On the Welcome to the Data Source Wizard page, click Next.

  3. On the Select how to define the connection page, click New to add a connection to the Adventure Works database.

  4. In the Provider list in Connection Manager, select Native OLE DB\SQL Server Native Client 10.0.

  5. In the Server name box, type or select the name of the server on which you installed Adventure Works DW2008.

    For example, type localhost if the database is hosted on the local server.

  6. In the Log onto the server group, select Use Windows Authentication.

    Important

    Whenever possible, implementers should use Windows Authentication, as it provides a more secure authentication method than SQL Server Authentication. However, SQL Server Authentication is provided for backward compatibility. For more information on authentication methods, see Database Engine Configuration - Account Provisioning.

  7. In the Select or enter a database name list, select AdventureWorksDW2008, and then click OK.

  8. Click Next.

  9. On the Impersonation Information page, click Use the service account, and then click Next.

  10. On the Completing the Wizard page, notice that, by default, the data source is named Adventure Works DW2008.

  11. Click Finish.

    The new data source, Adventure Works DW2008, appears in the Data Sources folder in Solution Explorer.