Professional Shared, Reseller and Dedicated DotNetNuke Hosting Cheap and reliable DotNetNuke hosting service provider - DNNMart LiveZilla Live Help

DotNetNuke Hosting Customer Support Center

Main Menu
Home
Open a Ticket
My Ticket History
Browse Knowledgebase
My Account

Login
 E-mail:
 Password:
Register | Forgot Password?

Knowledgebase
Ask a question using natural language. Try to include as much information as possible:


Contact Us
Database Mart LLC
7017 Weis Drive
Galveston, TX 77551
USA
409-877-4238

Sales & Billing: 8:00AM-5:00PM CST
Technical Support: 24x7x365

Knowledgebase
Virtual Directory Problem under DotNetNuke Site
Top : DotNetNuke

Article ID: 000051
Rating: 5.0 / 5.0 (1 votes)
Views: 3321

Problem
I have DNN 3.1.1 installed as the root web for a domain, and it is working fine, I installed another application in a virtual directory under the root web, the application files are placed in a different folder on the server.
The DNN site is still working fine, but the other application is giving an error when i try to access it:

<!-- HttpModules for Common Functionality -->
Line 42: <httpModules>
Line 43: <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite" />
Line 44: <add name="Exception" type="DotNetNuke.HttpModules.ExceptionModule, DotNetNuke.HttpModules.Exception" />
Line 45: <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnlineModule, DotNetNuke.HttpModules.UsersOnline" />

Solution
This article is from asp.net forum http://forums.asp.net/1055266/ShowPost.aspx.

To fix the issue with another app in a VD you need to remove each httpmodule in the web.config of the other app using :

<httpModules>
<remove name="UrlRewrite" />
<remove name="Exception" />
<remove name="UsersOnline" />
<remove name="ProfilePrototype" />
<remove name="AnonymousIdentificationPrototype" />
<remove name="RoleManagerPrototype" />
<remove name="DNNMembership" />
<remove name="Personalization" />
</httpModules>

And then you need to copy the dll's from the dotnetnuke bin directory to the bin directory of the other app (only the ones for the removed modules of course).

These are :
- DotNetNuke.HttpModules.UrlRewrite.dll
- DotNetNuke.HttpModules.Exception.dl
- DotNetNuke.HttpModules.UsersOnline.dll
- MemberRole.dll
- DotNetNuke.HttpModules.DNNMembership.dll
- DotNetNuke.HttpModules.Personalization.dll

Rating
Did you find this article helpful?

Shared DotNetNuke Hosting - Reseller DotNetNuke Hosting - Dedicated DotNetNuke Hosting - Domain Registration - SSL Certificates
Home - Support Center - Knowledgebase - Documentation - Flash Tutorials - How To - Our Network - About Us - Site Map
Cheap and reliable DotNetNuke hosting service provider - DNNMart