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 to force install with specified machineKeyHow to force install with specified machineKey
Previous
 
Next
New Post
1/29/2009 10:01 PM
 

A new install of DNN 5.0 generates a random new machineKey even if a given one is specified in the web.config prior to the install, and even if the option to add key="InstallMemberRole" is set to value="false" so that an existing membership provider cannot be used because it has a different machineKey. Is this a bug? Or is there a feature to turn off the generation of a new machineKey so that it does make sense at the same time to turn off installation of the membership provider?


CT
 
New Post
1/29/2009 11:17 PM
 

Which version of IIS are you using?  IIS 6 or IIS 7.  If you are using IIS 7, in the IIS Control panel there are additonal machine.config settings that may be overiding your web.config.

Hope this helps.

Jerry

 
New Post
1/30/2009 1:15 AM
 

Thanks for the suggestion. I've double-checked IIS 7.0 to make sure there were no interfering defaults at the higher default web site level above the application level, and retested installation of DNN 5.0.0 with the specified machineKey. Unfortunately, they continue to be overwritten and changed by the installer utility. And besides I thought that the lower-level web.config is supposed to override any of the defaults at the higher-levels. Do you have any more explicit guidance on exact file locations of any other default files and/or machineKey parameters? Meanwhile, I've also reported this problem as an issue in the Gemini system for the installer on 5.0.0.


CT
 
New Post
1/30/2009 8:58 PM
 

I believe your correct, but you may want to check on the MS IIS 7 site to be sure...I thought the lower-level web.config is supposed to be controlled by the IIS 7 panel.  Have you tried using the installer from the 4.91 package just to get a DNN portal setup, then use the DNN 5.0 installer to upgrade it.  If there is a problem with the 5.0 installer, then maybe starting with a lower version then upgrading might get you what you need.  I know it's a step back, but if your set on using 5.0, it might be the way to go.

Jerry

 
New Post
1/30/2009 9:40 PM
 

Found a good reference "Professional IIS 7.0" by Ken Schaefer et al (Wrox Press). See pages 580 - 582 on Configuration File Hierarchy and Order of Operation. This reference makes clear that the last loaded config file at the lowest level, the web.config at the application level, should take precedence over anything that loaded previously at the higher levels whether machine.config or web.config at the site level.

So, according to this reference, the specified machine keys in my web.config should NOT be ignored or changed. I do not believe that IIS 7.0 has the ability to change the config file unless the management user interface is opened by the user... which of course is not the case when the DNN installer is running. This implies, but does not prove, that the bug is indeed in the installer. I have not yet looked at the installer source code to try to find the problem.

Also, if any DNN core team are reading this thread, please update Gemini so that we can file an issue on DNN 5.0.0 Major Release. It was not available on the submission form so I had to use the closest thing which was DNN 5.0.0 Release Candidate 2. But I have been experiencing this problem with the official Christmas release of 5.0.0.


CT
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...How to force install with specified machineKeyHow to force install with specified machineKey


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