Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Migrating Data to DNN7Migrating Data to DNN7
Previous
 
Next
New Post
5/10/2013 6:32 AM
 
DNN5 to DNN7

Hiya all,

Our live site/server Currently has DNN 05.06.00 installed on server 2003 in SQL server 2005.

Our new Site/server has a fresh install of DNN7 installed on Server 2012 with SQL Server 2012.

Is there a way to upgrade and migrate all data from one to the other? DNN5 to DNN7 ?

Does The fact that DNN7 is significanlty different to DNN5/6 mean that I can't restore DNN5 DB into SQL 2012 DNN7 DB.

Do I need to start again and leave data on server 2003 ?

This would mean that users would need to jump to DNN7 rather than upgrade if not already at server 2008, NOT GOOD !


Ray..
 
New Post
5/11/2013 5:40 AM
 
you should clone your DNN 5 site (files and database) and install DNN 7 files, this should trigger the upgrade. Make sure to upgrade 3rd party modules first. If you encounter errors, you may upgrade in multiple steps via latest DNN 5, DNN 6.1.5 and DNN 6.2.6.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/16/2013 5:22 AM
 

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" />

 
New Post
5/16/2013 4:35 PM
 

Make sure the machinekeys match that of the database; it typically stays with the data, not the db.  You  can get the value from the webconfig from the old DNN instance.    [in system.web section]    I forget this part every other time...   :)  Good luck.  I may follow your footsteps on this one...

<connectionStrings>
    <!-- Connection String for SQL Server 2008/2012 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=XXX.db.2404002.hostedresource.com;Initial Catalog=XXX;User ID=XXX;Password=g5J&nHC22G" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2008/2012
    <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;" providerName="System.Data.SqlClient" /> 
    -->
  </connectionStrings>

<appSettings>
    <!-- Connection String for SQL Server 2008/2012 Express - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Data Source=XXX.db.2404002.hostedresource.com;Initial Catalog=XXX;User ID=XXX;Password=g5J&nHC22G" />
    <!-- Connection String for SQL Server 2008/2012 - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;"/>
    -->

above for db name of XXX

Bob H.

 
New Post
5/20/2013 5:47 AM
 

Hiya,

The machine code on old and new web.config are matching ( Yet I haven't copied anything into new webconfig)

 

makes me think that this section is never touched on my install

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Migrating Data to DNN7Migrating Data to DNN7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out