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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...[Bug?] Multiple asp.net applications at the same host[Bug?] Multiple asp.net applications at the same host
Previous
 
Next
New Post
8/21/2008 5:54 AM
 

Hi all,

I have encountered a problem on deploying DNN in webserver.

Situation:

Multiple .net applications
Dnn is installed in root directory
other application are presented as virtual directory

I.e.
http://localhost/ <-- dnn (4.8.4)
http://localhost/appa <-- .net2.0 application

However, it will cause error on appa, since it is inherited the web.config from the dnn
to resolve the problem. I must add "" between in web.config in DNN

After that, I found that ajax wont work.

After tracing the code many times. I find that in AJAX.vb and Config.vb, when it parse the xml, it will only parse "configuration/system.web" (Now I have to use location to encapsulate the system.web, which should be configuration/location/system.web). That why the AJAX wont work. Moreover, if we are installing Non-PA modules to dnn, it should cause error also. As dnn cannot insert sub directory to web.config.

I am hoping DNN can provide a fix on this problem. As I dont wanna recompile the source code.

heeae

 
New Post
8/21/2008 11:44 AM
 

You ran into the issue of the hierarchical nature of the setup of ASP.Net, which is by design.  I would recommend you that instead of messing around and try to figure out how to change the settings to get your apps to work under this hierarchy, that you do not use DNN on the root of the site, that will mess with your head big time if you try to setup other ASP.Net apps.

In other words, you will end up with something like this:

        localhost/dnn484
        localhost/dnn4xx
        localhost/app1
        localhost/app2

In this way you can have as many different ASP.Net apps as you wish and even multiple versions of DNN running at the same time.  I do this on my development notebook and it works wonderfully.  Plus, something learned the hard way since the times of IIS on NT 4, don't setup any sites on the root of the site anyway.

Carlos

 

 
New Post
8/24/2008 10:02 AM
 

However, we cannot build a structure like this since it is our coporate website, we do not want the webpage is under a directory :P, and we have already lots of applications in the site. We cannot move it to another site with this reason :D

By the way, the problem is solved by modifing the source code.

 

heeae

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...[Bug?] Multiple asp.net applications at the same host[Bug?] Multiple asp.net applications at the same host


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