Hiya,
I have copied DNN5 website folder from server 2003 to server 2012.
I have detached DNN5 DB from SQL 2005 (Full Version) and attached it to SQL server 2012. ( Express Version)
I then dropped DNN7 upgrade files on top of DNN5 website folder.
Browsed to website and I get the following error:
ERROR: Could not connect to database specified in connection string for SqlDataProvider.
Now I understand that I am moving from SQL 2005 full version to SQL 2012 Express so the connection string has to change. I have a dnnuser account that I have tested with sql 2012 express management studio and it connects fine.
What is the connection string i need for SQL 2012 express using uid and password?
My previous connection string for SQL 2005 (Full Version) that worked is below.
password set to dnnuser as an example
I want to do the same except for SQL express.
<connectionStrings>
<!-- Connection String for SQL Server 2005/2008 Express -->
<!-- <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" /> -->
<!-- Connection String for SQL Server 2005/2008 -->
<add name="SiteSqlServer" connectionString="Data Source=serverIPADDRESS;Initial Catalog=DNN;User ID=dnnuser;Password=dnnuser" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<!-- Connection String for SQL Server 2005/2008 Express - kept for backwards compatability - legacy modules -->
<!-- <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" /> -->
<!-- Connection String for SQL Server 2005/2008 - kept for backwards compatability - legacy modules -->
<add key="SiteSqlServer" value="Data Source=serverIPADDRESS;Initial Catalog=DNN;User ID=dnnuser;Password=dnnuser" />