Installing BlogEngine RC 2.0

It's fairly stragiht forward to install BlogEngine, just follow the instructions ind the readme files and you're fine. Remember to set filepermissions on the app_data folder, files and sub folders etc.

If you're running in a hosted enviroment you might encounter an error: "unable to generate a temporary class". After some poking around on the internet I found that the XmlSerializer just might be the cause of the and I also found a quick and easy fix

As the windows user probably does not have the prober rights to create files in the windows temp folder. Solution is to point the XmlSerializer to another folder for storing files/classes on the fly

Change temp folder

In the web.config I added this section

    <xmlSerializer tempFilesLocation="d:\websites\blognet.web\app_data\temp"/>

Obviously "d:\websites\blognet.web\app_data\temp" should reflect the correct path to your installation of BE
The method Request.PhysicalApplicationPath should give you a fairly good idea
NB! My installation has a different path too :)

All credits for this solution goes to