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 ...DNN 4.0.2 New Install Bug foundDNN 4.0.2 New Install Bug found
Previous
 
Next
New Post
1/12/2006 11:28 PM
 

I just installed 4.0.2 on a brand new Win2003 Server with SQL 2005 and VS 2005. No problems there.

However, when running the install.aspx page I got a permissions error. Fixed the permissions but the code was throwing an exception in the config classes where the following code is:

Dim xmlMachineKey As XmlNode = xmlConfig.SelectSingleNode("configuration/system.web/machineKey")

xmlMachineKey.Attributes("validationKey").InnerText = validationKey

xmlMachineKey.Attributes("decryptionKey").InnerText = decryptionKey

xmlConfig = AddAppSetting(xmlConfig, "InstallationDate", Date.Today.ToShortDateString)

 

I commented out the xmlMachineKey attribute setting portion to get it working... however, I'm not sure why this exceptioned out...

Any ideas?

The exception is actually an Object Not Found... in other words, xmlMachineKey was "Nothing" after it's init (SelectSingleNode). The proper section does exist in the web.config.

I'd love to hear what anyone might think of this.

 
New Post
1/13/2006 1:15 PM
 

The page output when I get the error from the code above looks like this. Anyone else seen this? Know how to fix it? The NETWORK SERVICE account is in the local admin group.

 

DotNetNuke Configuration Error

Object reference not set to an instance of an object.

DotNetNuke has extensive file upload capabilities for content, modules, and skins. These features require custom security settings so that the application is able to create and remove files in your website.

Using Windows Explorer, browse to the root folder of the website ( C:\DotNetNuke by default ). Right-click the folder and select Sharing and Security from the popup menu ( please note that if you are using Windows XP you may need to Enable Simple File Sharing before these options are displayed ). Select the Security tab. Add the appropriate User Account and set the Permissions.

If using Windows 2000 - IIS5
- the {Server}\ASPNET User Account must have Read, Write, and Change Control of the virtual root of your website

If using Windows 2003 - IIS6
- the NT AUTHORITY\NETWORK SERVICE User Account must have Read, Write, and Change Control of the virtual root of your website

 
New Post
1/31/2006 2:28 AM
 

hi

i have exactly the same problem and found no help. i installed dotnetnuke 4 with vs.net 2005 and sql server 2005. i also reloaded msxml 6.0 parser with no sucess:(((

web.config was loaded in xmlconfig variable as xmldocument but the method .selectsinglenode will always return nothing. i tested with other xpath-query but i always get nothing! so xmlMachineKey.Attributes("validationKey").InnerText = validationKey will fire a "object not reference to an instance of an object"-error:( my apppool-identity for asp.net 2.0 is in administrator-group. so it could not depend on a permission problem.

can anybody help me? thank you so much!

greetings,
dave

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN 4.0.2 New Install Bug foundDNN 4.0.2 New Install Bug found


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