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 ...Error in XmlUtils after upgrade to 5.0Error in XmlUtils after upgrade to 5.0
Previous
 
Next
New Post
3/23/2009 5:04 AM
 

Hi,

my upgrade path was 4.9.0 -> 5.00 -> 5.0.1

My "system.web/authentication/forms" node  in web.config file is

      <!-- forms or Windows authentication -->
      <authentication mode="forms">
        <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
      </authentication>
      <!--
      <identity impersonate="true"/>
      <authentication mode="Windows">
      </authentication>
  -->

What's worng ?

Thanks, Sandro


Sandro De Matteis Microsoft IT Pro: Enterprise Admin, Enterprise Messaging Admin Technology Specialist: Microsoft Virtualization Dnn portals: http://www.dbdog.it , http://www.royalcrestgoldn.it, http://www.retrieversclub.it
 
New Post
3/23/2009 2:04 PM
 

The problem is the following two lines of code

            Dim formsNav As XPathNavigator = configNav.SelectSingleNode("configuration/system.web/authentication/forms")

and later

                PersistentCookieTimeout = XmlUtils.GetAttributeValueAsInteger(formsNav, "timeout", 30)
 

If the first line retruns null the second line will fail as described.

So - you need to check if there are any capitalization differences in the path to the forms node.

 

 


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
3/23/2009 2:25 PM
 

Also please check if you have a location node in your web.config

ie - is your path to the forms node - configuration/location/system.web/authentication/forms

or - configuration/system.web/authentication/forms

Unfortunately there is no workaround currently for the <location> node being present.  This will be fixed in the next 5.x release.


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
3/23/2009 6:43 PM
 

Charles,

You had it absolutely correct on both where it was coming from, and what the problem seemed to be.  I had my troubleshooting steps down to where you were Charles, but didn't know how to go further.  I had a location tag in my web.config.  In my old hosting setup, GoDaddy, DNN was on the root of the setup.  I had multiple ASP .NET applications below that and I needed to set the inherit attribute to false to prevent the web.config attributes from being inherited.  That was working fine and hadn't been a problem till I upgraded.  I upgraded from version 4.9.1 to 5.0.0 and will be upgrading to 5.0.1 now that this problem has been fixed.  Luckily, as well, I changed hosts so I no longer need to worrry about the inherit attribute.  As soon as I removed it, the problem stopped. 

Thanks for the help. 

 
New Post
3/24/2009 6:08 AM
 

Hi Charles, you are great !

The "problem" was the location node.

Thanks,

Sandro De Matteis


Sandro De Matteis Microsoft IT Pro: Enterprise Admin, Enterprise Messaging Admin Technology Specialist: Microsoft Virtualization Dnn portals: http://www.dbdog.it , http://www.royalcrestgoldn.it, http://www.retrieversclub.it
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error in XmlUtils after upgrade to 5.0Error in XmlUtils after upgrade to 5.0


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