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 ...Reinstalling dotnetnuke but keeping the original database recordsReinstalling dotnetnuke but keeping the original database records
Previous
 
Next
New Post
4/5/2006 9:04 AM
 

Hi guys,

Is it possible to reinstall dotnetnuke and let it not overwrite whats on the current database? Since I have installed it successfully the first time and many users have signed up and posted on the forum, I don't want to overwrite anything.  Thanks.

 
New Post
4/5/2006 11:32 AM
 
what do you want to reinstall then?  what is wrong with the site?
 
New Post
4/5/2006 4:59 PM
 

Hello:

Are you trying to upgrade?  If you stay within major versions, i.e. 3.0.12 to 3.2 then this is rather easy.  If you are trying to move from 3.x to 4.x, which also means going from v1.1 to v2.0 (ASP.NET 2 & SQL 2K5) for the most part, then this can be a "little" trickier.

If you plan to upgrade from 3.x to 4.x I would recommend starting as fresh as possible.  Below is a quick summary of the steps:

  1. Logon to your DNN 3.x site as "Host" and go to "Host" > "Portals".  There is a rather nifty tool here that will allow you to export your site settings and data (make sure the data checkbox is checked). This will create two files NameYouGave.template and NameYouGave.template.resources.
  2. Begin to setup your new DNN 4.x website, but prior to running or creating your site copy the two files from step one located in your DNN 3.x portals\_default folder to the DNN 4.x portals\_default folder.
  3. Rename the existing files, DotNetNuke.template and DotNetNuke.template.resources, to DotNetNuke.bak.template and DotNetNuke.bak.template.resources and rename the files you created and copied to the DNN 4.x Portals\_default to DotNetNuke.template and DotNetNuke.template.resources.
  4. Run the solution or create your Portal as you normally would and you will have a new DNN 4.x website with your DNN 3.x stuff (Note: If you have custom modules, skins, etc. you will need to install these again.)

This will NOT port your user's information over.  I would recommend using a tool like BulkUser Import&Export that you can get at a reasonable price from snowcovered.com.  There is an alternative way to do this as well.  Instead of renaming the DotNetNuke template and resources files, create the site using this template and add your skins and modules.  Then add a Parent Portal and select your resources file you created and copied to Portals\_default that will be available from the template dropdown.  You may need to go through some of your pages, i.e. pages with HTML Modules and change the portal from say "3" to "0".  This all depends on the portal number assigned in DNN 3.  This will ensure your URLs etc. point to the proper location of images and other resources.

If you would like to do this for a multi-portal site, you will need to repeat these steps with one additonal step.  You will need to access your database and open the PortalAlias table and set the portal alias name to the virtual website, i.e. http://localhost/yourvirtualweb.  The assumption here is that you are making changes locally prior to FTP'ing your site to your hosting company.

Hope this helps or gives you some ideas. Good luck!

 
New Post
4/6/2006 1:15 PM
 

^^That's excellent advice John. :)  Definitely export and import the module info.  I would just also add that if you're using 3rd party modules--contact them and make sure there aren't any 'issues' with exporting and importing their module info--some 3rd party modules are pretty flaky. 

And don't forget to make a *complete* backup of the database *and* the website, before you start!

 
New Post
4/7/2006 11:32 PM
 
Thanks guys, I will definitely take notes of what you guys have said. 
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Reinstalling dotnetnuke but keeping the original database recordsReinstalling dotnetnuke but keeping the original database records


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