SQL Azure unexpected database deletion/recreation

Unanswered SQL Azure unexpected database deletion/recreation

  • Wednesday, April 11, 2012 3:36 PM
     
     


    • For some reason, SQL Azure deleted and recreated our database
    • The _MigrationHistory table was created in the process, registering a starting point to test the model against for future migrations


    Here are our Questions

    • Who / What triggered the database deletion / recreation?
    • How could EF re-seed our sample data since Application_Start hasSystem.Data.Entity.Database.SetInitializer<Entities>(null);?

    EDIT: Looking at what could've gone wrong, we noticed one thing we didn't respect in this SQL Azuretutorial: we didn't remove PersistSecurityInfo from our SQL Azure Entity database connection string after the database was created. Can't see why on Earth it could have caused the problem, but still worth mentioning...

    Thanks for the help

All Replies

  • Friday, April 13, 2012 6:17 AM
    Moderator
     
     

    Hi gdupuy,

    I would like to involve someone familiar with this issue to have a look, and give an update later. Thanks for your understanding.


    Stephanie Lv

    TechNet Community Support

  • Sunday, April 15, 2012 7:41 PM
     
     

    Can you help me understand what makes you think SQL Azure deleted and recreated your database?  Off the top of my head, I cannot think of a technically feasible scenario where this could have happened.