Hi,
I use DNN 5.6.0 on my server: Windows Server 2003, Microsoft-IIS/6.0, ASP.NET 2.0.50727.3649, Microsoft SQL Server 2005.
I want to migrate my DNN portals to new server: Windows Server 2012 R2, IIS 8.5.9600.16384, ASP.NET 4.0, Microsoft SQL Server 2014.
When I successfully migrate, I will update DNN to latest version.
But I have problem at migration. I have been Google-ing for three days, so I decided to ask.
When I try to open my portal by writing down localhost, I get this error:
Installing DotNetNuke
Upgrade Error: ERROR: Could not connect to database specified in connectionString for SqlDataProvider
I have tried a lot of different connectionStrings, but no one works:
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Initial Catalog=DATABASE;User ID=USERNAME;Password=PASSWORD" providerName="System.Data.SqlClient" />
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Initial Catalog=DATABASE;Integrated Security=True;" providerName="System.Data.SqlClient" />
I restored database from old server to new one. In first case, I created new user in database and made him "db-owner", but does not work, also the second one.
I suppose, there is a problem, because ASP.NET can not access to database, but I do not know, what to do.
If anyone could help me, I will be really thankful!