Time remaining:
Deployment and configuration of database with Azure

label Programming
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. :)


<connectionStrings>
  <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" />   
  </connectionStrings>
Nov 30th, -0001

hi 


Please check following link that can help you.



azure.microsoft.com/en/us/documentation/articles/sql-database-deploy


Sep 6th, 2014

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Nov 30th, -0001
...
Nov 30th, -0001
Aug 22nd, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer