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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade Issues & location Tag Issues (5.6.1)Upgrade Issues & location Tag Issues (5.6.1)
Previous
 
Next
New Post
1/25/2011 12:00 PM
 
Wanted to drop a post related to some issues I had in an upgrade for 5.4 to 5.6.1 and an ongoing issue with "Upgrading to .NET 4.0".  

I saw reference in another post where someone had an issue w/ their upgrade and they had the below "location" tag around their system.web and/or system.webserver tags in the web.config.  We have this in there because more than likely, or in my case, I have virtual directories below the main site on a shared host that do other things that host the DNN site, so we need a clean web.config that doesn't inherit anything, which inheritance appears to be the default for IIS 7/7.5.  

<location path="." inheritInChildApplications="false">
    <system.web>
        ....
    </system.web>
</location>

This location tag though appears to wreak havoc on the upgrade process for DNN, namely the Telerik upgrade.  I was able to get my site running by manually editing the web.config to use the new needed Telerik entries from the Telerik .dnn file.  (There might be a more elegant way, but it worked for me since my entire DNN site was inaccessible at the time.)  

I also awoke to an issue this morning where my site was down saying the web.config was full.  Upon further inspection I found where every time DNN started it was attempting to upgrade the web.config file to .NET 4.0, even though the web.config was already upgraded fully.  I deleted the NET40.config file to at least temporarily resolve this issue from happening again.  However, I am still seeing where it is attempting to upgrade to 4.0 over and over, but now it's got nothing it can do to the web.config, so the site won't crash again.  

In spelunking the code I came across the upgrade process and see that the code is looking for:
...SelectSingleNode("//configuration/system.web/httpRuntime")

So basically it's expecting <system.web> to sit right under <configuration>, which for those of us using the <location> tag this isn't the case.  Our web.configs are actually "//configuration/location/system.web/httpRuntime".  

I'm going to do a bit more research to see if there's another way I can stop the web.config inheritance, but anyone with the <location> tag in their web.config be warned, as there appears to be some issues with DNN and having that tag there.  
 
New Post
1/27/2011 9:39 PM
 
Hello Ryan, that certainly seems like a potential problem, i don't know if it's logged (that logic has existed for some time, but the .net 4.0 upgrade and eventlog message may only be surfacing it now) - could you please log this at http://support.dotnetnuke.com so it can be looked at for the next release.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/16/2011 2:38 AM
 
Also having this issue -- hope for a fix soon!
 
New Post
2/16/2011 8:15 AM
 
The issue has been submitted to Gemini and has been verified: DNN-14940

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade Issues & location Tag Issues (5.6.1)Upgrade Issues & location Tag Issues (5.6.1)


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