SilverLight — September 28, 2009 6:42 pm

If you get the ‘The Silverlight project you are about to debug users RIA services. RIA services will fail unless the Silverlight project is hosted in and launched from the same web project that contains the RIA services’

Posted by

I sometimes get this, especially when checking out the latest version from my subversion repository but its easy to fix.

The actual error will look like this:

SilverLight error

SilverLight error

So to fix it you need to do a couple of things:

  1. Set the start up project to the Web project by clicking on the Project and choosing ‘Set as Start Up Project’
  2. Not necessary but set a start up page as well, in RIA this will be called “ApplicationName.aspx”

Thats it, you should now be ready to go!!

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

  • Share this post:
  • Facebook
  • Twitter
  • Delicious
  • Digg

3 Comments

  • thk youuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
    tu m’a sauvé la vie

  • @ oussama comment tu as fais le deusieme Point
    set a start up page as well, in RIA this will be called “ApplicationName.aspx”
    thx

  • Thanks man, this also worked also when instead of RIA services it mentions “web services”. Kudos to you

Leave a Reply

— required *

— required *