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 ...DNN under another ASP.NET app?DNN under another ASP.NET app?
Previous
 
Next
New Post
4/11/2008 9:47 AM
 

Hi all

Has anyone had any luck installing DNN under another ASP.NET app? I have an ASP.NET application installed in my root. Let's say it's at www.example.com. I want to install DNN at www.example.com/dnn.  I have made /dnn a virtual directory and defined it as an "Application" in IIS. From what I've read, that makes it a "starting point" so DNN should be unaffected by anything above it. That does not seem to be true. I cannot get the installer wizard to start. It comes up with SQL errors because it tries to connect to the database without connection strings being set. If I try to install the old way by editing web.config then I think it created the first couple of tables and crashed.

If I temporarily rename web.config in the top application then DNN works just fine so it is definitety being affected by it. Setting it as an application is doing something because if I don't do that then I get other errors. I don't quite remember what they were now but they made sense because they were related to trying to set some things at the wrong level in the hierarchy.

It seems that defining an IIS "Application" doesn't give the isolation that Microsoft documentation suggests it does. Any ideas or suggestions would be appreciated.

Ross

 
New Post
4/11/2008 11:00 AM
 

web.config files cascade down from the parent folder. So something in the root folder is hosing your DNN web.config. There are supposed to be ways around it but I haven't been very successful myself whenever I've tried to change it.

 
New Post
4/11/2008 11:05 AM
 

Theres been a fair ammount of discussion about this on the forums recently here is one of f the postings I could find. look at foos response and look for otherarticles on that would be my suggestion.

 

John


John Nicholson
 
New Post
4/11/2008 12:17 PM
 

Thanks Mike and John. I found some other posts. I should have done some better searching first. I knew about the hierarchy of web.config files but it was my understanding that by defining an IIS application rather than just a virtual directory then I was creating a new "root" that it didn't look above but apparently that is not true.

In this case it's not a big deal to move the existing root into it's own folder so DNN will be beside it rather than under it.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN under another ASP.NET app?DNN under another ASP.NET app?


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