1
Vote

Windows phone cloud application template db error

description

i have described bug on stack overflow:
http://stackoverflow.com/questions/9778754/database-error-in-asp-net-mvc3-ef4-1-code-first
 
steps to reproduce the error:
  1. create new solution from Windows phone cloud application
  2. run the application for the first time, everything works fine
  3. while the app is not runing, open the mdf file that is located in the solution web role under app_data/WPcloudapp.mdf through visual studio to show on the left pane - "server explorer"
  4. all tables of the db are shown and eveything looks good
  5. close the connection to the db by right click ---> close connection
  6. run the application again
  7. all hell breaks loose, i get the exception described in the link
  8. closing visual studio, all the processes or restarting the computer does not help, need to create a new solution with a new name to start over.
     
    this is really frustrating as the documentation for this toolkit is very scarce

comments

ykhammal wrote Mar 20, 2012 at 11:53 AM

There's a new beginner course on the tookit. Send me an email so I can send you a link back.
techfox.systems@live.com