📒
OpenRiaServices
  • Start
  • Prerequisites for Open Ria Services
    • Walkthrough: Installing and Configuring SQL Server 2008 R2 Express with Advanced Services
    • Walkthrough: Installing the AdventureWorks OLTP and LT sample databases
  • Creating Open Ria Services Solutions
    • Walkthrough: Taking a Tour of Open Ria Services
    • Walkthrough: Creating a Open Ria Services Solution
    • Walkthrough: Creating a Open Ria Service with the Code First Approach
    • Walkthrough: Using the Silverlight Business Application Template
    • Walkthrough: Creating a Open Ria Services Class Library
    • Walkthrough: Localizing a Business Application
    • How to: Create a Domain Service that uses POCO-defined Entities
    • How to: Add or Remove a Open Ria Services Link
    • Using the Domain Service Wizard
  • Building Secure Applications with Open Ria Services
  • Deploying and Localizing a Open Ria Services Solutions
    • Troubleshooting the Deployment of a Open Ria Services Solution
    • Troubleshooting the Deployment of a Open Ria Services Solution
    • Walkthrough: Localizing a Business Application
  • Middle Tier
    • Domain Services
      • Walkthrough: Adding Query Methods
      • How to: Add Business Logic to the Domain Service
      • How to: Create a Domain Service that uses POCO-defined Entities
      • How to: Use HTTPS with a Domain Service
    • Data
      • Compositional Hierarchies
      • Presentation Models
      • Inheritance in Data Models
      • Complex Types
      • Shared Entities
      • Walkthrough: Sharing Entities between Multiple Domain Services
      • How to: Add Metadata Classes
      • How to: Validate Data
      • Managing Data Concurrency
    • Shared Code
      • How to: Share Code through Source Files
      • Walkthrough: Creating a Open Ria Services Class Library
  • Silverlight Clients
    • Client Code Generation
    • DomainContext and Operations
    • DomainDataSource
    • Error Handling on the Client
    • Customizing Generated Code
      • How to: Add Computed Properties on the Client
  • Accessing non-Silverlight Clients
    • ASP.NET Clients
    • Walkthrough: Using the Domain Service in ASP.NET Applications
  • Authentication, Roles, and Profiles
    • How to: Enable Authentication in Open Ria Services
    • How to: Enable Roles in Open Ria Services
    • How to: Enable Profiles in Open Ria Services
    • How to: Create a Custom Authorization Attribute
    • Walkthrough: Using Authentication Service with Silverlight Business Application
    • Walkthrough: Using Authentication Service with Silverlight Navigation Application
  • End-to-EndScenarios
    • Walkthrough: Retrieving and Displaying Data From a Domain Service
    • Walkthrough: Editing Data From a Domain Service
    • Walkthrough: Displaying Data in a Silverlight Business Application
    • Walkthrough: Displaying Related Data in a Silverlight Business Application
Powered by GitBook
On this page
  • Installing and Configuring SQL Server 2008 R2 Express with Advanced Services
  • To install a new instance of SQL Server 2008 R2 Express
  • Configure Your New Instance of SQL Server for the Installation of the AdventureWorks Databases

Was this helpful?

  1. Prerequisites for Open Ria Services

Walkthrough: Installing and Configuring SQL Server 2008 R2 Express with Advanced Services

PreviousPrerequisites for Open Ria ServicesNextWalkthrough: Installing the AdventureWorks OLTP and LT sample databases

Last updated 4 years ago

Was this helpful?

[ This document was written for WCF Services Version 1 Service Pack 2 and might not be up to date Please see or 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 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 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

  1. Download the correct version of for your OS architecture (x86 or x64).

  2. When the download completes, click on Run

    After the Installer extracts the required files, the SQL Server Installation Center appears.

  3. 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.

  4. On the Installation Type screen, select New installation or add shared features and click Next.

  5. Check I accept the license terms, and click Next.

[!NOTE] A restart might be required at this point if files affected have operations pending.

  1. Click Select All, and then click Next.

  2. 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.

  1. Leave the default settings for Server Configuration and click Next.

  2. On the Account Provisioning tab, select (the default) Windows authentication mode, and click Add Current User.

  3. On the FILESTREAM tab, check Enable FILESTREAM for Transact-SQL access, check Enable FILESTREAM for file I/O streaming access, and click Next.

  4. Leave the default settings for Reporting Services Configuration and click Next.

  5. Leave the default settings for Error Reporting and click Next.

  6. 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

  1. 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.

  2. 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.

The **SQL Server (\<InstanceName\>) Properties** dialog is now open.
  1. On the FILESTREAM tab ensure that Enable FILESTREAM for Transact-SQL access and Enable FILESTREAM for file I/O streaming access are both checked.

  2. Click OK.

  3. 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.

  4. In the left pane of the SQL Server Configuration Manager, expand SQL Server Network Configuration, and click Protocols for \.

  5. Double-click on Named Pipes, and in the Named Pipes Properties dialog that appears, select Yes in the dropdown next to Enabled. Click OK.

  6. 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.

  7. 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 topic.

Release Notes
Changelog
Walkthrough: Installing the AdventureWorks OLTP and LT sample databases
Prerequisites for Open Ria Services
SQL Server 2008 R2 Express with Advanced Services
Walkthrough: Installing the AdventureWorks OLTP and LT sample databases