Virtual Directory Problem under DotNetNuke Site
Top : DotNetNuke
| Article ID: |
 |
000051 |
| Rating: |
 |
5.0 / 5.0 (1 votes)
|
| Views: |
 |
3321 |
|
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" />
|
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
|