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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesImporting an Existing Web ApplicationImporting an Existing Web Application
Previous
 
Next
New Post
8/30/2011 1:40 PM
 
Hi,

Not really a module-specific question - I'm trying to avoid having to write one if anything!

I've got a an ASP.NET web site which I've ported to DotNetNuke. Everything's fine apart from a Contact web form which sits as an IIS application under the ASP.NET web site's folder structure. It has some compiled code which forwards a user's details to a web service.

Ideally, I wanted to simply copy the application folder to the DotNetNuke folder structure and write my own form which would submit data to the Contact application (an .aspx page with some pre-compiled code-behind). Unfortunately, it doesn't seem to work and fails with an error as follows:

Could not load file or assembly 'DotNetNuke.HttpModules' or one of its dependencies. The system cannot find the file specified.

The application has its own bin folder and web.config file which had authentication set to "Windows" - I duly changed this of course but it made no difference. I converted the folder to an application under IIS as well, but still no luck.

Any ideas?

 
New Post
8/30/2011 2:35 PM
 
please make sure the app folder is physically outside the DNN folder and you are using just an IIS virtual folder to map it inside the structure. the best solution, however, would be converting the app into a DNN module.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/31/2011 6:07 AM
 
Hi Sebastian,

Thanks for your reply.

The web application is now in a file structure outside the DNN folder structure. I added a Virtual Directory under the DNN folder and pointed it at the web application but I still get the same issue. I presume the child application's web config would need to be changed in some arcane manner to work around the issue?

I added a basic HTML file as a quick test - I could access this but as soon as I converted the virtual folder to an application under IIS, even that HTML file was no longer available. I think it's because the child application (and it still is even though it's a virtual folder or sat within the DNN folder as you'll know) is inheriting the DNN web.config. I beieve I can configure the web.config file not to be inherited by the virtual directory by wrapping the system tag with a location tag:

location path="." inheritInChildApplications="false"

...but this is a change to the DNN web config which isn't exactly ideal is it? If I could change the child application's web.config to force it to ignore the containing application's (DNN) web.config, that wouldn't be so bad.

Regards,

Darrin
 
New Post
8/31/2011 6:53 AM
 
Quick Update - I was able to avoid having to change the DNN web.config by explicitly excluding the items that were causing the issue in the child app's web.config. More information here:

http://www.dotnetnuke.com/Resources/Forums/forumid/108/threadid/15438/scope/posts/threadpage/1.aspx

Thanks for your help :)
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesImporting an Existing Web ApplicationImporting an Existing Web 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