This project has moved and is read-only. For the latest updates, please go here.

ToDoList exception on launch

Jun 22, 2012 at 11:03 PM

I'm trying to get the reference app to run but when I do, I get this exception in the WcfRiaRepository.LoadTasksAction()

System.ArgumentException was unhandled by user code
  Message=The provided URI scheme 'file' is invalid; expected 'http'.
Parameter name: via
Smells like I've not got a config setting right somwhere?

Jun 23, 2012 at 2:49 PM

Most likely you have the Silverlight project as the start up project. That won't work because relative URIs will resolve to the file system instead of the web. Either set it to run out-of-browser, or set the host web page in the web project as the start up project and page.