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 under another .net 2 applicationInstall under another .net 2 application
Previous
 
Next
New Post
6/7/2007 6:14 PM
 

Hi,

We have an application that we developed in C#/.net 2.0. For the forum and basic content management we would like to use DNN. How can we install DNN in a sub-folder of the main site?

Eg. Our site: www.sample.com and we want to install DNN in www.sample.com/cms.

I simply copied the "Website" folder to /cms and created an "application" under the main website in IIS. However it keeps refering to the root web.config and not the one in the /cms folder. Is this the right way to do it? We are able to successfully run DNN as long as we install it the way it is suggested in the documentation.

Thanks for your help!

Yasir

 

 
New Post
6/7/2007 7:30 PM
 

When you have applications nested in IIS, the apps that are lower down in the hierarchy inherit web.config settings, HttpModules etc. from the parent. In the child web.config, you have to put a <clear /> element as the first child element of sections to cancel this behavior. Also, any assemblies that are referenced in the parent app will also need to be present in the child app's bin folder. This is because even though they are not referenced directly, until the <clear /> element is encountered they are referenced implicitly.

Nik

 


Nik Kalyani
Co-founder
DotNetNuke Corporation
Blog | Twitter | FaceBook
 
New Post
6/8/2007 12:43 AM
 

Thanks Nik. Will try it and will post and update.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Install under another .net 2 applicationInstall under another .net 2 application


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