I had a similar issue with the MvcMusicStore app. I changed a line in the Web.config from
"Instance=true" to "Instance=false". It sometimes works without this tweak but I don't know what causes the difference. Reading this
http://msdn.microsoft.com/en-us/library/ms254504.aspx didn't really help.