Walkthrough: Installing the AdventureWorks OLTP and LT sample databases
The WCF RIA Services walkthroughs assume that you have the AdventureWorks OLTP and LT databases installed. This walkthrough outlines the steps needed to create an instance of AdventureWorks OLTP and LT databases.
|Make sure you have a compatible installation of SQL Server 2008 R2 Express with Advanced Services or any retail version. The procedure for installing SQL Server 2008 R2 Express with Advanced Services is outlined in the Walkthrough: Installing and Configuring SQL Server 2008 R2 Express with Advanced Services topic.|
|Visual Studio 2010, the Silverlight 4 Developer Runtime and SDK, and WCF RIA Services and its Toolkit must also be installed to use the RIA Services walkthroughs. The installation points for these programs are provided in the Prerequisites for WCF RIA Services topic.|
To install the Adventure Works sample databases
Download the installer for AdventureWorks Sample Databases
Note: By default Windows Server 2008 security is configured to prevent the download of these installers. Changing the security configuration is not recommended on production servers. Please see the Windows Server documentation for information on how to change these settings.
Click the I agree the license terms check box, then click the Next button.
Select Run in the File Download window and then Yes in the User Account Control window when it appears.
Use the pull down selector Installation Instance to choose the instance in which to install the databases from the Database Selection windows when it appears.
While it is possible to change the directory where the scripts and data files will be installed, it is recommended that the default be used.
Note: If the directory is changed, be sure that the account the SQL Server service runs under has read access to this directory.
Ensure that boxes for installing the AdventureWorks OLTP 2008R2, AdventureWorks LT 2008R2, AdventureWorks OLTP, AdventureWorks LT databases are all checked. Leave the default for all other databases. Click the Install button.
When the installation completes click the Finish button.