Products

Solutions

Resources

Partners

Community

About

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...Administration ...Administration ...InheritInChildApplications cannot be set to "false" InheritInChildApplications cannot be set to "false"
Previous
 
Next
New Post
8/5/2012 2:52 PM
 

I was running DNN version 5.x and I wanted to do an upgrade to 6.02.

When I did the upgrade I noticed a few issues that I cannot resolve and I was hoping to get some help here.

1.) I had multiple systems in sub folders on the website. This worked fine before the upgrade as it was not using the parents web.config. So I went into the web.config file and placed what I read was the solution into the <location> section:

 inheritInChildApplications="false"

This however crashed my site and I had to remove it for the site to come back up.

I then read that the issue was the FiftyOne.Foundation DLL. (http://www.byteblocks.com/post/2012/06/27/InheritInChildApplications-cannot-be-set-to-false-error-with-dnn.aspx) So I looked online but could not fine one (the dll) that was .net 2.0, I did find one that was 4.0. So I upgraded the site to run under the .net 4.0 and placed in the inheritInChildApplications="false" and I still get a crashed site. I had to remove this code for the site to come back up.

Clearly the inheritInChildApplications="false" is not valid for a DNN site.

This seems like a very big deal. The idea that I cannot have applications underneath DNN is a big problem.

So I updated the application, which is in a virtual directory below the root, to .net 4.0 and I got it to now want all of the references for the DNN site, like all of the dll's. So I copied them all into the bin folder of the application that is in the virtual root.

Upon completing this I get this error:

 [NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Common.Globals.get_Status() +81
   DotNetNuke.HttpModules.RewriterUtils.OmitFromRewriteProcessing(String localPath) +39
   DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +207
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

This looks like the main website is trying to do some sort of re-write on the folder where the application is supposed to be.

I am completely stumped and I cannot see a way out. Is there someone who can help this disastrophe.

 
New Post
8/6/2012 9:08 PM
 
Anyone want to touch this? I can't be the only one...
 
New Post
8/7/2012 1:40 AM
 
I was able to use tags in the web.config by updating the 51Degrees.mobi dll from codeplex (51degrees.codeplex.com and the download is called "51Degrees.mobi DLL Website Enhancer"). Hopefully that helps.
 
New Post
8/7/2012 7:51 AM
 

Can you post a sanitized copy of your web.config so we can see how you have it configured.  Also, a quick look through StackOverflow shows this is a common problem with ASP.Net applications in general and does not seem specific to DotNetNuke.


Joe Brinkman
DNN Corp.
 
New Post
10/4/2012 10:44 AM
 

I was not able to ever get this work. Sorry if someone comes here and sees no resolution. If someone is able to get this to work. I would love to know.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...InheritInChildApplications cannot be set to "false" InheritInChildApplications cannot be set to "false"


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