Frontpage not showing after .NET 4.0 upgrade

Sep 6, 2011 at 1:49 PM


I recently upgradet my Blogengine website to run .NET 4.0.

In VS 2010 all runs perfect, but when deploying to IIS 7.0 (Windows 2008) the frontpage setting is ignored and the Post front is shown.

I have tried to change "Is front page" setting to a different page (and back again), but still the same result.

The web.config looks fine and I havn't been able to find any problems in it (it's the same that is used on my development machine).

When debugging (locally) the Page.GetFrontPage(); is returned correct (The app_data directory is the same on development and on the server).

Any ideas of where to look?




Sep 7, 2011 at 4:46 AM

I'm guessing you're using a version of BE prior to version 2.5?  If so, that's okay.  See this post on a workaround.

If you're using BE 2.5, then I think the workaround isn't needed, and the front page works even under .NET 4.0.