Need Help with straightforward MVC deploy ...
I cannot get a DB connection to a MVC web app other than by using LocalHost on an Azure VM.
The problem occurs with for a webapp I'm developing and for the out-of-the-box VS2013 MVC template ... when deployed to a Bizspark preconfigured VM.
When browsing with VS on local host and can update records, but cannot for the IIS hosted site.
Workflow
Pre-deploy: enabled EF migrations
Deploy: Web Publisher
ConnectionStrings:
<add name="DefaultConnection" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|aspnet-WebApplication1-20150429124346.mdf;Integrated Security=True;Connect Timeout=30" providerName="System.Data.SqlClient"/>
<add name="DefaultConnection_DatabasePublish" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|aspnet-WebApplication1-20150429124346.mdf;Integrated Security=True;Connect Timeout=30" providerName="System.Data.SqlClient"/>
Question
Are there configuration requirements for SQL to get this to work?
I'll piece together what Explicat recommends, but it seems there should be a straightforward solution with documentation to using integrated security.