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 and Virtual DirectoriesDNN and Virtual Directories
Previous
 
Next
New Post
11/12/2007 7:15 PM
 

I have a new 4.7 DNN installation and am attempting to migrate an old site to DNN (I'm a DNN newbie). The old site is .Net 1.1 and it has several virtual directories with .Net 2.0 applications (different application pool). When I try to create similar virtual directories under the DNN web site the applications stop working - errors relating to the inherited root dnn web.config settings.

I've read a bunch of threads about similar issues and was wondering if anyone has come across a solution - not a DNN issue, but maybe someone here has had this or similar issues and figured out a work-around.

Thanks in advance,

-Lee

 
New Post
11/12/2007 10:28 PM
 

It's actually a .NET issue and not a DNN issue. Supposedly the following:

<httpModules>
    <clear />
<httpModules>

in the web.config of the downstream .NET applications is supposed to make the difference but I've yet to have any luck with it myself. I haven't tried different application pools though so I don't know if that'll make a difference.

 
New Post
11/13/2007 7:19 AM
Accepted Answer 

Lee -

I have several virtual directories running under DNN. I had to make sure things were cleared in the child web.configs manually as Mike suggested:

    <httpModules>
     <remove name="UrlRewrite" />
     <remove name="Exception" />
     <remove name="UsersOnline" />
     <remove name="DNNMembership" />
     <remove name="Personalization" />
     <remove name="Compression" />
     <remove name="RequestFilter" />
    </httpModules>

I also had to copy some dlls from the DNN bin dir into each child app bin directory. I found that the easiest way to do all of this is to set:

<customErrors mode="Off"/>

So that you can catch everything. Youo should be able to work out which dll needs copying to the child bin directory from the errors.

Post back here with any errors you get that you can't work out.


Steve White
 
New Post
11/13/2007 12:19 PM
 

Thanks Steve and Mike,

To solve the problem I cleared out the modules in the httpModules section of the web.config file (as suggested). I also had to create several empty directories under the App_Code directory in my virtual directories (HTML, Reports, Survey, XML) since these were defined in the dnn web.config file and were expected to be in the child virtual directory.

I also needed to copy the following binaries to the virtual directory's bin folder:

System.Web.Extensions.dll
DotNetNuke.dll
DotNetNuke.Services.Syndication.dll

The code in the virtual directories worked just fine after performing the above steps. Wish it wasn't necessary - oh well...

Thanks again!

-Lee

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN and Virtual DirectoriesDNN and Virtual Directories


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