Walkthrough: Installing and Configuring SQL Server 2008 R2 Express with Advanced Services
[ This document was written for WCF Services Version 1 Service Pack 2 and might not be up to date Please see Release Notes or Changelog for a list of changes since WCF RIA Services ]
The Open Ria Services walkthroughs assume that you have SQL Server 2008 and the AdventureWorks database installed. SQL Server 2008 R2 Express with Advanced Services is the minimum required version for the installation and use of the required AdventureWorks databases. The normal SQL Server 2008 R2 Express version does not have the required services. This walkthrough outlines the steps needed to create an instance of SQL Server 2008 R2 Express with Advanced Services.
The procedure for installing the AdventureWorks database is outlined in the Walkthrough: Installing the AdventureWorks OLTP and LT sample databases topic.
Warning: Visual Studio, the Silverlight Runtime and SDK, and Open Ria Services and the Open Ria Services Toolkit must also be installed to use the Open Ria Services walkthroughs. The installation points for these programs are provided in the Prerequisites for Open Ria Services topic.
Warning: The AdventureWorks database installer only functions with an instance of SQL Server that was newly created with SQL Server 2008 R2 Express with Advanced Services or any retail version of SQL Server 2008 R2. It does not work properly on upgraded instances.
Installing and Configuring SQL Server 2008 R2 Express with Advanced Services
Tip: It is recommended that for these walkthroughs you install a completely new instance of SQL Server 2008 R2 Express with Advanced Services.
To install a new instance of SQL Server 2008 R2 Express
Download the correct version of SQL Server 2008 R2 Express with Advanced Services for your OS architecture (x86 or x64).
When the download completes, click on Run
After the Installer extracts the required files, the SQL Server Installation Center appears.
In the left panel, select Installation, then click New installation or add features to an existing installation.
The SQL Server 2008 R2 Setup dialog appears, initializes the setup files, and Runs a rule check.
On the Installation Type screen, select New installation or add shared features and click Next.
Check I accept the license terms, and click Next.
[!NOTE] A restart might be required at this point if files affected have operations pending.
Click Select All, and then click Next.
If this is the first installation of SQL Server on this machine, you can select Default instance, otherwise select Named instance.
Type in an instance name (that you can remember), and click Next.
[!TIP] SQL Server instance names are generally written in all caps, as a single word.
Leave the default settings for Server Configuration and click Next.
On the Account Provisioning tab, select (the default) Windows authentication mode, and click Add Current User.
On the FILESTREAM tab, check Enable FILESTREAM for Transact-SQL access, check Enable FILESTREAM for file I/O streaming access, and click Next.
Leave the default settings for Reporting Services Configuration and click Next.
Leave the default settings for Error Reporting and click Next.
When the installation completes, click Next and then click Close.
Now that the installation of the new instance is complete, it needs to be configured. These configuration settings enable the connections needed to access the SQL Server Instance.
Configure Your New Instance of SQL Server for the Installation of the AdventureWorks Databases
Click on the Start Menu, select All Programs, Microsoft SQL Server 2008 R2, Configuration Tools, and click SQL Server Configuration Manager.
The SQL Server Configuration Manager window will open.
In the left pane select SQL Server Services, and right click on your SQL Server (\) instance. In the pop up menu select Properties.
[!IMPORTANT] "<InstanceName>" is a placeholder and needs to be replaced with the actual name of the instance you are working with.
On the FILESTREAM tab ensure that Enable FILESTREAM for Transact-SQL access and Enable FILESTREAM for file I/O streaming access are both checked.
Click OK.
Back in the SQL Server Configuration Manager, ensure that SQL Full-test Filter Daemon Launcher (\) is running. If it is not running, right click on it, and select Start.
In the left pane of the SQL Server Configuration Manager, expand SQL Server Network Configuration, and click Protocols for \.
Double-click on Named Pipes, and in the Named Pipes Properties dialog that appears, select Yes in the dropdown next to Enabled. Click OK.
Repeat the previous step for TCP/IP protocol as well to enable it. Accept the default values for the Keep Alive and Listen All properties.
In the left pane of the SQL Server Configuration Manager, select SQL Server Services again, right click on SQL Server (\) in the right pane, and select Restart.
[!TIP] It is best practice, after modifying the configuration of an SQL Server instance to restart the instance, so that the changes which were made are available.
The installation and configuration of your SQL Server 2008 R2 Express with Advanced Services instance is now complete. You are now ready to install the AdventureWorks OLTP and LT sample databases. The step for installing the database is provided in the Walkthrough: Installing the AdventureWorks OLTP and LT sample databases topic.
Last updated