• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4731
  • Last Modified:

DNN Module Settings causes: "Could not load file or assembly 'DotNetNuke.HttpModules' or one of its dependencies"

I am building a new portal on an existing DNN web server. I have added 20 or so pages, then all of a sudden, on some pages, whenever I try to edit the Module Settings, the browser returns the following error, even though I can do this as normal on the other 95% of pages:-

Server Error in '/Jewellery' Application.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'DotNetNuke.HttpModules' or one of its dependencies. The system cannot find the file specified. (C:\Inetpub\wwwroot\DotNetNuke\web.config line 142)

Source Error:

Line 140:    <httpModules>
Line 141:      <!-- add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" /> -->
Line 142:      <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" />
Line 143:      <add name="RequestFilter" type="DotNetNuke.HttpModules.RequestFilter.RequestFilterModule, DotNetNuke.HttpModules" />
Line 144:      <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules" />

Source File: C:\Inetpub\wwwroot\DotNetNuke\web.config    Line: 142

Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

On the page that gives this error, I cannot add a new page, otherwise I get the same error, but I can add a page from another page. I deleted one of the offending pages, and recreated it, and it started working properly from that page. Tried on another page that was failing, and it still gives the error.

The file DotNetNuke.HttpModules.dll exists under the the DNN/Bin folder and file permission of the DNN folders appears correct. No other portal on this web server demonstrates this problem.
1 Solution
cwruckAuthor Commented:
Problem solved - the DNN page name was conflicting with a virtual folder of the same name. The virtual folder was used on another portal configured on the same IIS website.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now