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 ...Upgrade headachesUpgrade headaches
Previous
 
Next
New Post
2/15/2006 5:10 AM
 
I have never, ever had a DNN upgrade run without site destroying errors. My recent migration from 3.x to 4.02 is no exception. This is the one thing that concerns me about deploying dnn in an enterprise environment. I am very nervous that I will have to upgrade the system someday and it will take me a few days to migrate all of the data from the old site to the new one after I give up and just install the new version from scratch.

This is a HUGE problem for DNN. Until an upgrade can proceed smoothly there will be hesitation from people like me to deploy for anything much other than my own personal site.

My most recent upgrade went more smoothly than all the rest. The first problem was that after the database update was performed, I kept getting the page that says "nothing to install at this time" when I tried to hit the site. It turns out that I had to manually enter an install date element into the web.config file. !! BAD BAD BAD !!

Now, after getting the site to run, I can't log in. No accounts of any kind can log in.

I dug around and found this...

"To fix the login problem, copy from the <system.web> section of the original web.config file the <machineKey ...> into the new web.config"

But the old (3.x) machine key looks like this....

      <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" />

and the new (4.x) version looks like this...

    <!-- machineKey validationKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902"      decryptionKey="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC"
      decryption="3DES"
      validation="SHA1"/  -->

Obviously the old key is not a satisfactory replacement for the new one. and as expected. it doesn't work. I get the following error when I attempt to log in.

You must specify a non-autogenerated machine key to store passwords in the encrypted format. Either specify a different passwordFormat, or change the machineKey configuration to use a non-autogenerated decryption key.

Guys. This is ridiculous. There is no way that any self respecting IT guy could possibly approach an upgrade of DNN without fear and trepidation - nay - sheer terror.

How the *HELL* do I get this damned thing ficksed now?
 
New Post
12/15/2006 12:02 AM
 

I find it curious that the DNN team has not responded to this problem in nearly a year.

Have you, DNN team, found a fix for a transition of users from the auto-generated site to DNN 4, .Net 2.0?

Would sure be helpful?  Even if you recommended a tool to help make this happen.  The DNN Masters Membership Suite from SnowCovered won't do it either, even though the app is suppose to export from DNN 3 to Import DNN 4.  But it doesn't work. Period.

Help please.


kkramis
 
New Post
12/15/2006 5:31 AM
 

I'm not sure how the original poster got those strange encryption keys, my guess is that he, or someone for him, changed some crucial lines in the web.config file. Ever since dnn 3.0 times, the machine validation en encryption looked something like this:

all dnn 3.x versions:

  <add key="MachineValidationKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />
  <add key="MachineDecryptionKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />
  <add key="MachineValidationMode" value="SHA1" />

al dnn 4.x versions:

  <machineKey
        validationKey="88274583C0B0FA57D5E12D4096F109E769E1391B"
        decryptionKey="FB33DE7F5C36906AA094F8FA486DE3E4CB7BAE5D58AC793B"
        decryption="3DES"
        validation="SHA1" />

The dnn masters membership module has nothing to do with this AFAIK.. that is a module you can use to mass import users.


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
12/15/2006 1:42 PM
 
I am the original poster and I swear that the web.config file was unmodified from the original install except for the connection string.

At least it was unmodified by me and I am the only one who has access to this site.
 
New Post
12/15/2006 3:19 PM
 

Sorry, i didnt understand your original post i think. When i look at this again, it seems like you mixed up 2 sections in the web.config. In AppSettings, there are  some keys (MachineValidationKey, MachineDecryptionKey, MachineValidationMode), and in the system.web section there is:    <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" />

During upgrade, you should copy the MachineValidationKey, MachineDecryptionKey, MachineValidationMode from the old web.config to the new, the line <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" /> should not be touched....


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Upgrade headachesUpgrade headaches


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