Time remaining:

Deployment and configuration of database with Azure

account_circle Unassigned
schedule 0 Hours
account_balance_wallet $5

Hi, I have a problem deploying my database to Azure. I added the connection strings to the Azure databases attached to my website. I also copied and pasted the connection code they provided me to add to the publishing wizard of VS2012. I tested the connection and it was successful. But when I publish, the website does not load and I get the following message

Model compatibility cannot be checked because the database does not contain model 

metadata. Model compatibility can only be checked for databases created using Code 

First or Code First Migrations.

Not Sure what is going on. I'm posting the connection strings in case you want to see them. But I really don't think they're the problem. Then again I've been wrong many times. :)

  <add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnetdb;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf" providerName="System.Data.SqlClient" />
  <add name="DefaultConnectionDeploy" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=WebsiteManager;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\WebsiteManager.mdf" providerName="System.Data.SqlClient" />
  <add name="WebsiteManagerContext" connectionString="Data Source=(localdb)\v11.0; Initial Catalog=WebsiteManagerContext; Integrated Security=True; MultipleActiveResultSets=True; AttachDbFilename=|DataDirectory|WebsiteManagerContext.mdf" providerName="System.Data.SqlClient" />
  <add name="MusicContent" connectionString="Data Source=|DataDirectory|MusicContent.sdf" providerName="System.Data.SqlServerCe.4.0" />   
Feb 19th, 2018


Please check following link that can help you.


Sep 6th, 2014

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
Feb 19th, 2018
Feb 19th, 2018
Feb 20th, 2018
Mark as Final Answer
Unmark as Final Answer
Final Answer

Secure Information

Content will be erased after question is completed.

Final Answer