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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Nesting an ASP.NET app under DNNNesting an ASP.NET app under DNN
Previous
 
Next
New Post
5/13/2008 6:08 PM
 

I have a straight forward DNN application and I need to integrate a seperate ASP.NET application. The idea is that when a link is clicked in my DNN site it redirects to the ASP.NET site. However, the domain name needs to stay the same. So basically, if it was www.dnnsite.com it would become www.dnnsite.com/aspnetsite. I think this is possible but I'm trying to understand the best way to achieve it. Is it simply an IIS configuration thing and if so can it be achieved in IIS on XP?

Any help/suggestion is much appreciated!

Thanks!

 
New Post
5/14/2008 9:44 AM
 

Hi Marcus,

What you are describing is very achievable.  I'd start by creating a new, independant application under IIS in a subdirectory of your DNN installation (/dnn/myapplication).  Move your ASP.NET application to this new IIS application directory, and test to see if it starts up correctly.

Hope this gets you started!

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
5/14/2008 10:25 AM
 

You need to add the following tag around the <system.web> tag in the dotnetnuke web.config file to stop inheritance of dotnetnuke's web.config : <location path="." inheritInChildApplications="false">

 
New Post
5/16/2008 4:29 AM
 

Thanks very much guys. I'll give this a go later today and let you know how I get on.

Cheers,

Marcus.

 
New Post
2/10/2009 8:46 PM
 

I've had the same problem, I was using the IFrame module to load sub-applications from within a DotNetNuke page to easily extend the site for some custom solutions.  It worked fine in DNN4.9 when I added the inheritInChildApplications="false" in a location tag around the system.web in the config file. 

However, I recently was forced to upgrade to DNN5.0 to see if it solved some problems with the web site (which it did), but now I can't wrap the <system.web> tag in a location tag, if I do, then *every* time I log in, I get a "Critical error - Object reference not set to an instance of an object" error in the content pane of my initial page.

As soon as I remove the inheritInChildApplications fix, then I can login without seeing an error on my page, but my SubApps don't load (can't find dependencies blah blah blah).

Any ideas?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Nesting an ASP.NET app under DNNNesting an ASP.NET app under DNN


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