Export (0) Print
Expand All

Prerequisites for WCF RIA Services

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The walkthroughs and other demonstrations presented in the WCF RIA Services documentation require several prerequisite programs be installed and configured. Detailed instructions are provided in this section for the satisfaction of these prerequisites, to ensure that the end user encounters as few problems as possible when getting setup to work through the RIA Services walkthroughs.

Installing Prerequisites

Visual Studio 2010, the Silverlight Developer Runtime, SDK, and Toolkit and WCF RIA Services and its Toolkit must be installed to use the RIA Services walkthroughs. Here are the installation points for these programs:

  • Visual Studio 2010 Express or any retail version of Visual Studio 2010.

  • Downloading Microsoft Silverlight 4 Tools for Visual Studio 2010 will install all the components required for Silverlight and WCF RIA Services except for the RIA Services Toolkit. This download includes (along with several other components listed on the download page):

    1. Silverlight 4 Developer Runtime

    2. Silverlight 4 SDK

    3. Silverlight Tools for Visual Studio 2010

    4. WCF RIA Services for Silverlight 4

  • WCF RIA Services and Toolkit should be checked to make sure you have the latest install of WCF RIA Services for Silverlight 4 and to get the RIA Services Toolkit.

You can also get started with Silverlight 4 and RIA Services development by using the installation managed Web Platform installer in the Get Started with Silverlight with One Install

Gg512106.Warning(en-us,VS.110).gif Caution:
The Silverlight 4 Developer Runtime can get overwritten with the Silverlight 4 Runtime. This can happen with Windows Update, for example. If this happens, you will get the Message “The following required components are missing: Microsoft Silverlight 4 Developer Runtime” in a Prerequisites Check window. To solve this issue, go to Programs and Features on the Control Panel and manually uninstall Microsoft Silverlight. Then reinstall the most recent version of the Silverlight 4 Developer Runtime by clicking here.

Gg512106.Warning(en-us,VS.110).gif Caution:
There is an issue with the RIA Services v1.0 RTM installer that can surface after you install RIA Services V1.0 SP1 RTM. The v1.0 SP1 RTM installer is update friendly, but the v1.0 RTM installer is not. So if attempted to go back and reinstall the v1.0 RTM after installing the V1.0 SP1 RTM (or Beta) you will get a union of the two versions installed and it will appear as if both versions are installed. To solve this issue, uninstall both versions and then reinstall the desired version. This issue will not reoccur as we go forward with RIA Services V2.0 as the installer is not version friendly.

Silverlight has two runtimes: one for end users and one for developers. Installing the Silverlight Developer Runtime is a precondition for installing RIA Services. Having the end user runtime installed will also cause various issues during Silverlight development itself. If, for example, you get a message that you are unable to start debugging because the Silverlight Developer Runtime is not installed, then you have the wrong runtime installed and need to replace it with the developer runtime.

There are more detailed walkthroughs provided in this section for the two additional prerequisites: installing and configuring SQL Server 2008 R2 Express with Advanced Services and installing the AdventureWorks OLTP and LT database.

© 2015 Microsoft