<configuration>
<connectionStrings>
<add name="Model1" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DatabaseName;Integrated Security=True; MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>
I am receiving an ArgumentNullException
when I attempt to publish and upload my application to the server. The connection string inside user secret
is not causing any issues when running locally, but I am getting the following error message:
Value cannot be null. (Parameter 'connectionString')
The connection string inside my configuration
is as follows:
<configuration>
<connectionStrings>
<add name="Model1" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DatabaseName;Integrated Security=True; MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>