plexdaan: This is another error that I can't recall being reported by others on these Discussion boards (or at least not reported enough to make me remember).
On a side note, it's nice you keep posting the "red" lines of code, but you never post the actual error messages. If you're looking to get any real help, providing as much information as possible (in particular the actual error message(s))
Seeing the error message might actually help us to solve the problem. BUT, I think there is a more important underlying problem with the hosting environment that is causing these basic pieces of functionality to not work.
Are you using the "Publish" option in Visual Studio to publish this project to a hosting server? Or are you just copying the files extracted from the ZIP file directly to the hosting server, as-is? There's been some known problems when
using the Publish option. In the BIN folder, there should only be one DLL file -- BlogEngine.Core.dll. The Publish option will create other DLL files -- which we don't want.
BE should run fine in any medium trust or higher .NET hosting environment. There really are no special or non-standard technical requirements I can think of. Here's a short list of well known hosting companies (or companies I have dealt with)
that either offer BE as an installation option, or BE can be installed on:
There's many other webhosts people have BE hosted at. As you mentioned, BE is used by many people. And most people out there don't have their own dedicated servers. They're using shared web hosting. I'm pretty active on the Discussions
here and honestly don't see any reports or conclusions stating BE doesn't run at their webhost.