Blog migration to SharePoint 2013 - Part 2

Here’s a second post regarding the upgrade of my old SharePoint 2007 blog to a newer SharePoint version. Right now I’m running my blog on our new SharePoint 2013 infrastructure in SharePoint 2010 modus (deferred Site Collection upgrade).


I deployed the original SharePoint 2007 WSP to the SharePoint 2013 farm and lo and behold, it all seems to work just fine. I am missing a feature icon on the Web Application Features page, but that doesn’t matter.

The HttpModule and all other things seems to keep working, even in a Claims environment. Just one thing that needs fixing and that’s the MetaWeblog publishing API. It seems that in the current pipeline of the HttpApplication the claims stuff hasn’t finished initialising or whatever, but right now I get an error when trying to publish new blog posts from Windows Live Writer.

I’m working on a fix for that.

Content Upgrade

Since it was SharePoint 2007 I had to first upgrade that to SharePoint 2010 using DBATTACH. That gave the usual warnings but no big issues.

After that upgrade I noticed some views didn’t have the checkboxes for selecting multiple items. I fixed that in code by recreating those views, see more here:

» Upgrading SharePoint - Some views not upgraded to XsltListViewWebPart

I then attached the “SharePoint 2010” content database to our new SharePoint 2013 farm but didn’t do the Site Collection Upgrade yet. The deferred Site Collection Upgrade is really nice and seems stable. Not sure if there are any recommendations on moving ‘as soon as possible’ to a native SharePoint 2013 experience…

The biggest bonus I got from upgrading from SharePoint 2007 is that I can delete multiple spam comments at the same time using multiselect + delete Smile

Mobile View

I thought all was well (for now) but then I visited my blog on my phone and it gave me the mobile view. Sure I know you can append ?mobile=0 but that didn’t cut it for me.

I just went on disabling the Mobile View entirely for the Web Application, which can be done through the web.config (amongst other ways).

Here’s a nice PowerShell script that does that for you:

» Disable SharePoint Mobile View with PowerShell

Next steps

I will continue to work on the blog upgrade. I would like to fix the MetaWeblog issue, add some sort of image stealing protection, create a new design or work on closing the gap with the out of the box SharePoint 2013 experience.

Oh, and the blog is now available on an additional URL (which may be the single address in the future):




Links to this post


Wednesday, 6 Feb 2013 10:33 by Sean O’Leary
Even though it can take some time, it's always recommended to upgrade to the newest version when it becomes available. This will help to keep your content secure and will make it easier to continue to upgrade when new versions are launched.

Tuesday, 16 Apr 2013 04:07 by Marek
Hi Steven, I am trying to make this EBE solution to work on SP2013. I am hitting few issues with it. I was wondering if you could share the corrections you made to the solution? I have downloaded the latest sources from codeplex, built and deployed it to SP2013. The tag cloud links do not work :( I see you have it working on your site (top of the main page). Could you please let me know how to fix it?

Wednesday, 17 Apr 2013 09:28 by Steven Van de Craen
Hi Marek, I fixed a small issue with the MetaWeblogAPI in the HttpModule, but nothing big. I'm currently running this blog on a SharePoint 2013 farm but in 2010 mode (not upgraded). Don't see a real need to migrate to 2013 mode.

Wednesday, 17 Apr 2013 12:07 by Marek
Hi Steven, I am getting a headache over this. Basically, the category links (or tag cloud links) do not work for me. And they are working just fine on your site here. Would you have any suggestion of what might be wrong? I will try to debug and fix it, but at the moment I don't know where to look for the issue. Any help will be very much appreciated.

Wednesday, 17 Apr 2013 01:19 by Steven Van de Craen
Marek, Are you running 2010 mode ? Does the category links work when selecting a different (out of the box) theme ? Are you getting an error ?

Wednesday, 17 Apr 2013 02:14 by Marek
I am running fresh SP2013 install in normal mode. I am not getting any errors when clicking on the categories link. But no posts are loading for any category link. Just empty list. And that is the problem. So all the categories links are useless. Since this is a major feature, I really need this to be working. I've checked the URLs in the links and they look fine. They have the same format as on your site (/archive/tags/tagname/default.aspx).

Wednesday, 17 Apr 2013 02:18 by Steven Van de Craen
Marek, I didn't upgrade to SP2013 because of the numerous issues, so I can't help you with that.

Wednesday, 17 Apr 2013 03:47 by Marek
Hi Steven, I have also just found that every time I reactivate the EBE site feature on the blog site, the values in the Category column in Posts list are deleted. So every time I would update the solution, it will delete my existing data. Not good at all. I am a bit surprised, how this could be a SharePoint version dependent behavior.

CAPTCHA Image Validation