Could not load file or assembly 'BlogEngine.Core' or one of its dependencies

Topics: ASP.NET 2.0
Mar 28, 2009 at 10:27 PM

I am getting the following error when i click on any of the administration links after i have logged in. I have tested it on a local machine with no problems, it only happens on my uploaded live site. any help on this error would be much appreciated.

Parser Error Message: Could not load file or assembly 'BlogEngine.Core' or one of its dependencies. The system cannot find the file specified. (C:\whb\Sites\11357\Web\web.config line 97)

Source Error:

Line 95: 
Line 96:     <httpModules>
Line 97: <add name="WwwSubDomainModule" type="BlogEngine.Core.Web.HttpModules.WwwSubDomainModule, BlogEngine.Core"/>Line 98:       <add name="UrlRewrite" type="BlogEngine.Core.Web.HttpModules.UrlRewrite, BlogEngine.Core"/>
Line 99:       <add name="CompressionModule" type="BlogEngine.Core.Web.HttpModules.CompressionModule, BlogEngine.Core"/>
Mar 28, 2009 at 10:50 PM
Just a guess, but your production server might be an IIS7 server, and you're using the Web.config file that came with BE 1.4.5 -- which doesn't include a <system.webServer> section needed for IIS7.

Try using the web.config file I posted in this other thread on Thursday March 26th.  It includes a <system.webServer> section.