I created a small Silverlight 4.0 / RIA Services application and tested it. I developed the app on a machine at home and needed to move it to the production domain at work. I did this by pushng it to the source repository and then cloning it to a dev machine at work. It builds without an error in both locations.
The problem occurs when I attempt to debug in the new location. At the first 'Load()' method on the domain context I get the following error:
The provided URI scheme 'file' is invalid expected 'http'
I get that the debugger is attempting to run with file based URI rather than an HTTP URI. But, why? And how do I fix it?
Searching through SO returned some similar errors regarding invalid URI schemes, but non of them helped me with this specific issue.
Thanks, Jim
Make sure your startup project is the web project, and not the Silverlight project itself.