← Back to overview
July 19, 2010 · Silverlight WCF RIA Services

Silverlight Business Application: Unable to connect to SQL Server database.

I’m following the WCF RIA Services Documentation to get up to speed with RIA Services. But in the walkthrough "Using the Silverlight Business Application Template" I got the following error when registering as new user:

Unable to connect to SQL Server database

The reason here is simple. The example uses an ASP.NET SQL Membership Provider and this provider wants to connect to localhost\SQLEXPRESS (and I installed using default instance, so that’s what causing the error).
To solve this issue you need to:

Hope this helps.

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket
Comments powered by Disqus