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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install wizard after site moveInstall wizard after site move
Previous
 
Next
New Post
8/9/2010 11:42 PM
 
I'm trying to move my site from my host to a local box so I can upgrade it.  It is currently 4.5.3.  I followed the steps posted in this forum. 

Backup Site and DB
Restore site and DB on new server
change the db conect strings in web.config
update the portal record in the portalalias table to 'localhost'

When I run the site I get the install wizard.  So, I think I'm connecting to the db,but it does not think I have a site setup yet.  What am I missing?

Thanks!
 
New Post
8/10/2010 6:54 AM
 
Please follow the following steps as the sequence here,

1.Add New HTTP Alias for your site to access from production server. To do so you need to click on “Site Settings” link under ‘Admin’ tab and click on “Add New HTTP Alias” link. Give a new site URL (As you wish to access the site with name). There is one rule which need to be followed when you set the alias for your production site, do not use the HTTP before your alias name. For example if you want to access your site with name http://www.myfirstsite.com then you must add the alias as www.myfirstsite.com . The other way to set your site URL/ alias is to set it at database. You can set it in “PortalAlias” table.

2.Take a back up of development server Database.

3.Move your physical folder (site folder) from development server to production server. Create a virtual directory through IIS and set the web site properties as you have set at your development server.

4.Create a new Database and restore the back-up database (The one you take from your development server).


5.Open the web.config file of production server and set the “connectionStrings” as bellow,

<connectionStrings>
    <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=Production server ;Initial Catalog=Database name;User ID=UserID;Password=Password" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2000/2005
    <add
      name="SiteSqlServer"
      connectionString="Server=(local);Database=DotNetNuke;uid=;pwd=;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>

6. Now you can access your site through the URL you gave above.

Please let me know if you have facing any problem further.


Thanks,

Debendra Nandi
Mindfire Solutions
www.mindfiresolutions.com
 
New Post
8/10/2010 8:51 AM
 
I'm actually going the other way around from prod->dev, but that really does not matter.  I did exaclty as you said. 

Backed up DB and web site
Restore DB and web site on dev server
Updated the record in PortalAlias talbe to just "localhost"
Changed the connection strings in web.config

I then run the site and get the DNN install wizzard, not my site.... :(
 
New Post
8/10/2010 3:15 PM
 
OK, I got it to work.  I got an older backup of the DB and this one worked fine.  I'd still like to know what was with the other backup though.  Something in the db made the site think that no content had been created yet.  Anyone know what kicks off the install wizzard?

Thanks.
 
New Post
8/10/2010 6:27 PM
 
Using the same Maschine Key is a obsolete prerequisite.  Also the same Database strings without the Database URL must be used.  This qualification is also for the objectQualifier and databaseOwner. 

Also you have to add the same user to your SQL Server before you restore the database.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install wizard after site moveInstall wizard after site move


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