John Herrell's Blog

BlogEngine.NET upgrade from 1.5.07 to version 1.6.1

by John Herrell on 29. June 2010 05:20

Well, it came time this morning to upgrade this Blog engine.  I am continuing to use BlogEngine.Net, as it has all the features I was require. 

Here is what I went through, and some tips and techniques to get around the issues I saw.

First, download the 1.6 source from here. In addition, download the 1.6.1 web version. Unzip both of these and place into folders where you can find them.

I started out by finding the install information for MySQL in the 1.6 source code and ran the appropriate script to upgrade the MySQL database for this new version.  All the proper casing was used in this upgrade script, so there were no issues there.  Then, you need to take the MySQLWeb.config file and replace the projects default web.config for that.  Replace the connection string information with that belonging to your database information.

I also took this time to upgrade the MySQL Connector to the latest one.  I downloaded this connector (version 6.2.3) and installed it onto my machine.  Update the web.config to reflect the new connector.

Now it was time to fire up an ftp program and get to work.

Delete the entire "ExtensionManager" sub-folder in the App_Code folder on the server.

I manually uploaded and overwrite all root folders individually.  I do not want any chance of having to figure out the permissions on my hosting server once again.

Once you are done, test it out.

Now, follow the advise on this page to upgrade to 1.6.1.

OK, now what?

Time to add ReCaptcha and AkismetFilter.  I was using a custom installation of ReCaptcha with the previous version of BlogEngine, so I already had my keys. 

Information for using ReCaptcha is here.  I encountered an error after using 1.6.1 with the ReCaptcha.  It was giving me a callback error through a javascript prompt.  I resolved this by setting the logging setting of the ReCaptcha settings to 0.  I have contacted BE regarding this.

I setup my comments for manual moderation and enabled AkismetFilter.  Time will only tell how well this will block the SPAM.

Hope this helps someone.

Tags:

Geek Speak | Programming

Comments are closed

About John

What can I say? I am a geek and more. I write software for a living, can't get too much geekier I guess.  I love to be a geek but I am also somewhat of a greaser. I love cars, trucks, and motorcycles, chassis fabrication, bodywork, and painting.

Some folks don't think the combination of geek, mechanically inclined, and artistically inclined blend well together, but that is who I am. If I was wired any differently, I wouldn't think the way I do, and be able to perform the type of work I do day-to-day. If I am not at work, I am either at the Dojo or working on something automotive related.

This blog does not focus any any particular aspect of my life.  You never know what I'll post, but I will try to keep it interesting.more to come later...

@@@John

RecentPosts

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.