Installing BlogEngine RC 2.0

by plykkegaard 18. december 2010 23:44

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 asp.net 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

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

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 http://www.hanselman.com/blog/changingwhere%20xmlserializeroutputstemporaryassemblies.aspx

Tags: ,

BlogEngine

Comments are closed

License

All work downloaded from this site are licensed under the GNU AGPLv3 License

Calendar

<<  juli 2017  >>
mationtofr
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

View posts in large calendar

About me

I am yet another .NET developer (C#), experienced in various integration projects
  • Datacollection in the warehouse using pick by voice (VoCollect) or rf scanners (Psion Teklogix)
  • Electronic data exchange using Biztalk 2006 R2
Other cool stuff I have worked with in the past and present and will be working with in future

RecentPosts

RecentComments

None

Tracking