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 ...Install separate ASP.NET application when DNN is in root directoryInstall separate ASP.NET application when DNN is in root directory
Previous
 
Next
New Post
4/2/2009 11:22 AM
 

I have DNN installed in root directory.

I have another ASP.NET application in the "calendar" directory that runs off of a MS Access database in the same directory.  It also has it's own web.config in the calendar directory.

It seems like the application in the calendar directory is trying to inherit the DNN web.config in the root.

I think I need to set the property like this:

  1. <location path="." inheritInChildApplications="false">  
  2. <system.web>  
  3.  ...  
  4. </system.web>  
  5. </location> 

However, I do not know where exactly to put it in the web.config for DNN.  Do I need to change the path?  I tried putting

<location path="." inheritInChildApplications="false">  right before system.web and then closing the tag after system.web closed, but to no avail.

 

There's an article about this:

http://www.kowitz.net/archive/2007/05/16/stopping-asp.net-web.config-inheritance.aspx

Anyone know how to do this specifically for DNN?  Also, if I disable inheritance in web.config, would it screw up all of the other directories needed by DNN?

 

 
New Post
4/13/2009 12:46 PM
 

anyone know the answer?

i.e. different web.config ; different database in a sub-directory?

 
New Post
4/13/2009 12:58 PM
 

even if using an application in a virtual directory do not nest physical folder location. place your application in a different directory and integrate virtually only.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/15/2009 8:33 PM
Accepted Answer 

Figured it out.  Actually use the text above

 <location path="." inheritInChildApplications="false"> goes right before <system.web>

and </location> goes right after </system.web>

 

I could've sworn I tried that and got errors.  I tried it again and it worked.

 
New Post
4/15/2009 8:35 PM
 

Not sure which version of DNN version you are using, but you might find with later versions of DNN this doesn't work.



Alex Shirley


 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install separate ASP.NET application when DNN is in root directoryInstall separate ASP.NET application when DNN is in root directory


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