The BlogEngine team has released BlogEngine 2.5 last 27th of June. I postponed it for a while but you have to keep your Online Software up to date! So I decided to give it a try. The migration from 1.x to 2.0 was almost painless, so moving to 2.5 should work out fine too. My installation as no database, but stores stuff in the App_Data folder. I followed this guide:  http://blogengine.codeplex.com/wikipage?title=Upgrading%20to%20BlogEngine.NET%202.5

my 8 easy steps: (maybe you only need 4) [more]

1) download current 2.0 installation as backup

2) download 2.5 web version

3) removed everything in the 2.5 App_Data folder except: blogs folder and blogs.xml file

4) copied the App_Data from 2.0 local backup to the 2.5 local folder and uploaded everything to the online version with overwriting enabled. (I recommend FileZilla for everything FTP related)

5) go to your online URL (mine crashed)

6) I received ‘Unrecognized configuration section system.web.extensions’ So I had to ask the hosting company to migrate my site from an Asp.Net 2.0 application pool to 4.0

7) After that I received another crash in imaginary.twitterfeed.cs (rule 21) and imaginary.twittersearch.cs (rule 22) on almost the same line:

private string _dataFileName = HostingEnvironment.MapPath(
Path.Combine(BlogSettings.Instance.StorageLocation, TWITTERFEED_DATA_FILENAME));

change it to:

private string _dataFileName = HostingEnvironment.MapPath(
Path.Combine(Blog.CurrentInstance.StorageLocation, TWITTERFEED_DATA_FILENAME));


8) The next crash was in admin/extension manager/extensions.ascx.cs from line 202 after some research that was because according to this thread http://blogengine.codeplex.com/discussions/252979

You should remove the directory of admin/extension manager because that is renamed to admin/extensions from version

My blog worked after these 8 easy steps! The following steps are optional:

in app_code/extensions/sentcommentmail.cs (rule 95) and contact.aspx.cs (rule 100) there was some obsolete use of replyto. So I changed it to:

var mail = new MailMessage
   From = new MailAddress(BlogSettings.Instance.Email),
   Subject = BlogSettings.Instance.EmailSubjectPrefix + subject + post.Title
mail.ReplyToList.Add(new MailAddress(replyTo, HttpUtility.HtmlDecode(comment.Author)));

and in contact.aspx.cs:

mail.ReplyTo = new MailAddress(email, name);


mail.ReplyToList.Add(new MailAddress(email, name));


So everybody should update their BlogEngine installation Glimlach because of all the nice features!

kick it on DotNetKicks.com Shout it

Post on LinkedIn