I have built a mvc 4 intranet application that uses a local db to store info. Now that i want to deploy it on a server entries are not saving to the database. I have tried everything i can think of with no luck.
Is there a way to tell the application to use a sql database instead of a local instance in iis?
This is the connection string in my web.config
-- edit: formatted code below so it would show up in the question. --
<add name="MyCalendarConnectionString" connectionString="Data Source=DST09119\SQLEXPRESS;Initial Catalog=MyCalendar;Integrated Security=True"
providerName="System.Data.SqlClient" />
<add name="SampleConnectionString" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=|DataDirectory|\Sample.mdf;Integrated Security=True"
providerName="System.Data.SqlClient" />