S
Simon
Hello,
I am trying to add the additional connection string. I have added this to
Web.config file:
<connectionStrings>
<clear/>
<add name="ConnStr" connectionString="XXX" />
</connectionStrings>
And than I also included:
connStr =
ConfigurationManager.ConnectionStrings["ConnStr"].ConnectionString;
And this fails, because ConnStr is not found. If I check all available
connection strings I only get LocalSqlServer.
What am I doing wrong? Is there something that I have to run to update the
connection strings?
Best regards
Simon
I am trying to add the additional connection string. I have added this to
Web.config file:
<connectionStrings>
<clear/>
<add name="ConnStr" connectionString="XXX" />
</connectionStrings>
And than I also included:
connStr =
ConfigurationManager.ConnectionStrings["ConnStr"].ConnectionString;
And this fails, because ConnStr is not found. If I check all available
connection strings I only get LocalSqlServer.
What am I doing wrong? Is there something that I have to run to update the
connection strings?
Best regards
Simon