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 ...How can I tell DNN to re-create databaseHow can I tell DNN to re-create database
Previous
 
Next
New Post
9/3/2006 5:01 PM
 
I'm debugging a problem and part of my process involves dropping my database and starting with a fresh one.  However, DNN apparently keeps some config somewhere that tells it that we've already created the database and not to do it again.  Can someone tell me what I need to clear in the DNN config to have it re-install all of the database scripts if I replace it's database with a blank one?
 
New Post
9/4/2006 2:04 AM
 
Edit the web.config and remove the installationdate key.  Also, you need to copy the module zip files from the install package to the \install\module directory.  If you do not do this the install will be a totaly blank DNN instance with no modules installed.
 
New Post
9/4/2006 5:02 PM
 

I found that if went to the dnn.config file and removed the value in version tag dnn will run the install scripts.

After an install it will look like this:

<dotnetnuke>

<version>030202</version>

</dotnetnuke>

Just remove the "030202" and save the file and restart.

If there is a value, then it assumes that there is a valid db set up.  If the version is an empty string then it will query the db to find the version.  If that returns an error then it will run the scripts to setup the dnn db. 

Hope this helps.

Good luck

Bill

 
New Post
9/4/2006 9:22 PM
 
Thanks, Bill.  That's the answer I was looking for.  I did this once a year or so ago and couldn't remember which file it was in.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How can I tell DNN to re-create databaseHow can I tell DNN to re-create database


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