Why am I getting this error message ?

Topics: ASP.NET 2.0
Nov 28, 2007 at 11:39 PM
Hey guys,

so I wanted to install Screwturn Wiki and Gallery Server Pro. DNBE.net is installed in the root of my site. Gallery Server Pro 2 in /gallery, and Screwturn Wiki in /Wiki. So I make them virtual directories, and all should be good. But when I try to access them, I get this:

Server Error in '/gallery' 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 type 'BlogEngine.Core.Web.HttpModules.UrlRewrite'. (D:\Domains\pipforhelvede.net\wwwroot\web.config line 73)

Source Error:

Line 71:
Line 72: <httpModules>
Line 73: <add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite"/>
Line 74: <add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule"/>
Line 75: <add name="ReferrerModule" type="BlogEngine.Core.Web.HttpModules.ReferrerModule"/>


Source File: D:\Domains\pipforhelvede.net\wwwroot\web.config Line: 73

Can any of you explain to me why, and possible what I need to do to fix it ?
Nov 30, 2007 at 10:38 AM
Oh, found out it's because the httpmodules from web.config is inherited from the root website. And that by adding:

<clear /> just below <httpModules> I got around it.