BlockLeftTop, PRELOAD BlockLeftBottom, PRELOAD BlockLeftStretch, PRELOAD BlockTop, PRELOAD BlockBottom, PRELOAD BlockStretch, PRELOAD BlockRightTop, PRELOAD BlockRightBottom, PRELOAD BlockRightStretch, PRELOAD
DeltaEngine

How to migrate from dasBlog to BlogEngine.NET!

by Benjamin Nitschke 3. November 2009 02:05

dasBlog

Here are my main reasons why I switched this blog from dasBlog to BlogEngine.NET recently:

  • Too many problems with dasBlog over the years (I have been using it for 5 years now)
  • Often simple features like commenting just stop working or causing problems on different browsers
  • Checking for spam is way too hard (see below, I wrote a helper app)
  • Customizing dasBlog is hard
  • Development of dasBlog is almost frozen (not much updates anymore)

Don't get me wrong, I absolutely loved dasBlog (else I would not have been using it for 5 years), but after porting dasBlog to our new website at exDream I encountered some really annoying problems. After I copied over the content files I just got strange security errors. After I fixed those all blog posts were gone. Then after coping all files once again and restarting the app, the next error appeared: Cannot add duplicate item and so on. After one or two hours I got everything working, but while searching for solutions to my problems I encountered BlogEngine.NET. Many people seem to have switched in the last 2 years, I heared of it before but I did not see any reason to switch. Now however after checking out the simple tools, the great extensibility and the much easier to use theming, I was hooked.

Switching was not painless, but overall it was a pretty quick process. Just have to figure out how to convert WordPress (another blog) to BlogML and then import those posts into the same BlogEngine blog. The main difficulty was to export dasBlog entries to BlogML and get it back into BlogEngine.NET.

BlogEngine.NET

I used the following tool to export from dasBlog to the BlogML format: http://www.paulvanbrenk.com/blog/2006/12/27/BlogMLSupportForDasBlogBeta.aspx
After fiddeling around the the command line tool I got the exporter working. While it was annoying that it threw so many exceptions, it later helped me to figure out some settings I had to make both in the tool and on the dasBlog site.

You can alternatively also use the UI merill build for the DasBlog to BlogML Converter:
http://www.cyberslingers.com/weblog/post/Upgrading-BlogEngineNET-hosted-on-1and1-using-the-Blog-Importer.aspx

Next you gotta import BlogML back into BlogEngine.NET, but I had many spam comments and trackbacks in my old blog, which I wanted to get rid of. So I wrote a little application that parses the whole export.xml file (was around 11MB for me) and removes everything that stinks. This is the whole console application (it uses Log and StringHelper from my utilities and XLinq, not much else, it should be easily extendible to block more spam): BlogImportSpamRemover.cs (6.42 kb)

This resulted in reducing my 11MB of blog data to 2.5MB (wow) with the following spam removal statistics:
Info: Saved exportCleaned.xml! Parsed 283 posts with 477 comments and 30196 trackbacks. Found and removed 51 spam comments and 30112 spam trackbacks!

Finally importing the blog entries also caused some trouble. First the Import BlogML application inside BlogEngine.NET must be started from IE (FireFox saves the file, and then launching it won't work), then I had to try different settings until everything validated and finally the importer always aborted with "Invalid username or password", which made no sense. Luckily I quickly found the solution, just add post.DateModified to the \api\BlogImporter.asmx:
http://www.pksoftware.net/devblog/post/A-fix-for-the-Blog-Engine-Importer-tool-problem.aspx

After that all blog posts were imported and are live here now :) I later found out that using ASP.NET 4.0 causes some additional problems. First you have to use "requestValidationMode="2.0"" for the web.config system.web/httpRuntime key, else posting blog entries will just fail with a dangerous request error page. Then some extensions like the Poll will just stop working and keep telling you strange things like "Please choose an answer" even if you select a valid answer. I checked with Firebug and saw that the Ajax calls all failed. So I switched back to the ASP.NET 2.0 DefaultAppPool and things started working again.

One last issue I had after a very long day of fixing css was the fact that all my other web applications stopped working (under the root where BlogEngine is now located). I tried to remove httpModules in the other web applications and reinstalled some apps, but nothing helped. BlogEngine is really messing around by disabling sessions, rewriting all kinds of urls, demanding strange files, etc. Only after I found this extremly useful blog entry (after finding less useful posts like this one for ScrewTurn (wiki) or this one for YAF (Yet Another Forum), which both did not work) I was easily able to fix all the problems by just forcing the root web app not to inherits it stupid incompatible web.config settings to all the children web applications: http://www.jaylee.org/post/2008/03/Prevent-ASPNET-webconfig-inheritance-and-inheritInChildApplications-attribute.aspx

Well, in the end everything worked out great and now the whole website is working better than ever and much easier to customize than before. Maybe I will talk about the dynamic features of the other pages (Games and Gallery) sometime soon, which is kinda cool (they all are just generated on the fly from some directories).

Comments


11/3/2009 2:27:47 AM #

Another test comment to test out comment adding ^^

Benjamin | Reply



11/11/2009 4:55:16 PM #

Your blog seems interesting.

Regards,
Alfie

Alfie | Reply



11/13/2009 5:10:32 AM #

nice website and great information..thanks for the tips

Travel Agents Indonesia | Reply



11/17/2009 9:46:07 AM #

I see on your blog as it meet my interests in full.

Chinese Furniture | Reply



11/25/2009 6:42:50 AM #

Your blog seems interesting. That's why i always love visiting blog engine's blog.

Regards,
email marketing software












email marketing software | Reply



11/25/2009 10:04:38 PM #

I've not used dasBlog.  i was lucky enough to go straight for Blog Engine.  Seems like you have done well with this blog.  I really like the theme.  I think I need to work some more on mine.  It's in dev at the moment!

article volcano | Reply



11/29/2009 1:59:11 PM #

Thank you sir for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.

kerja keras adalah energi kita | Reply



12/6/2009 1:59:16 PM #

thanks info in this article is very good and interesting

hidup untuk berbagi | Reply



12/7/2009 5:17:06 AM #

nice template and great article.thanks this is great information

seoul girls | Reply



12/10/2009 11:47:33 AM #

Great template. It's the exact site I'm looking for.

Affordable Web Design | Reply



1/1/2010 1:27:43 PM #

www.fauzirohimi.com/.../...adalah-energi-kita.html

you put the all great things which makes all people getting interested. but yes thats right, i agree. all you mention is make a sense. thanks

kerja keras adalah energi kita | Reply



1/1/2010 1:52:08 PM #

you put the all great things which makes all people getting interested. but yes thats right, i agree. all you mention is make a sense. thanks

kerja keras adalah energi kita | Reply



1/10/2010 2:47:33 PM #

Interesting post

payday loans | Reply



1/10/2010 2:51:19 PM #

Thank you for your help!

payday loans | Reply



1/12/2010 8:55:26 PM #

Hmmm interesting stuff

South Dakota Personal Loans | Reply



1/15/2010 7:02:21 PM #

great website and nice tips thanks

rental mobil | Reply



1/28/2010 5:15:47 PM #

its great, thanks for info n tips

andri | Reply



2/6/2010 7:48:07 AM #

dashblog is an open source platform for ASp.net same of blogengine.net. Dashblog design to post blog entries from a dashboar easily.

sikat ang pinoy | Reply



2/8/2010 1:41:58 AM #

Migrate dashblog to blogengine it great because blogengine it better than dashblog.

sikat ang pinoy | Reply



2/8/2010 4:16:47 AM #

Thanks for this great post - I will be sure to check out your blog more often

hentai | Reply



2/9/2010 8:35:58 AM #

nice website and great information..thanks for the tips
Regards
erica az

efek blogging terhadap motivasi diri | Reply



2/12/2010 7:31:24 AM #

I admire the valuable information you offer in your articles. I will bookmark your blog and have my children check up here often. I am quite sure they will learn lots of new stuff here than anybody else!

efek blogging terhadap motivasi diri | Reply



2/13/2010 8:10:00 PM #

Aessome post, really interesting,  macs  are great, also <br> the apple ipad looks like a Aessome piece of kit Smile can't wait to steal (l0l) one.

free ipad | Reply



2/13/2010 8:10:31 PM #

Awseome post, really interesting, iphones are brillitant, also <br> the itab looks like a Awseome piece of equpiment Smile can't wait to borrow one.

ipad | Reply



2/14/2010 11:36:26 AM #

Awesome post, really interesting, iphones are super, also <br> the iaPd looks like a Awseome piece of kit Smile can't wait to own one.

ipad reviews | Reply



2/14/2010 11:36:55 AM #

Aessome post, really interesting,  macs  are great, also <br> the apple ipad looks like a Aessome piece of kit Smile can't wait to steal (l0l) one.

ipad reviews | Reply



2/14/2010 2:18:06 PM #

Great post, really interesting, apple iphones are great, also <br> the iaPd looks like a great piece of comptuing power Smile can't wait to buy one.

free ipad | Reply



2/27/2010 3:44:17 PM #

Interesting post, really interesting, iphones are brillitant, also <br> the iPad looks like a graet piece of equipmnet Smile can't wait to have access to one.

ipad reviews | Reply



3/10/2010 1:23:37 AM #

nice blog i learn a lot from it.
Thanks for sharing.

regards,

rosela

Watch Pacquiao Vs Clottey Live online | Reply



3/10/2010 1:23:48 AM #

blog hopping...nice blog

Webthesurfi Rugs Webdesign | Reply



3/16/2010 2:10:29 PM #

Various people all over the world take the <a href="lowest-rate-loans.com/.../home-loans">home loans</a> in different creditors, just because that is comfortable.

REIDGale33 | Reply



3/22/2010 10:40:47 AM #

Im glad I located this web site, I couldnt find any knowledge on this matter before. Also run a site and if you want to ever serious in a little bit of visitor writing for me you should feel free to let me know, im always look for people to check out my blog page. Please stop by and leave a comment sometime!

Band Mp3 Free Download | Reply



3/22/2010 10:43:07 AM #

Im glad I located this web site, I couldnt find any knowledge on this matter before. Also run a site and if you want to ever serious in a little bit of visitor writing for me you should feel free to let me know, im always look for people to check out my blog page. Please stop by and leave a comment sometime!

Band Mp3 Free Download | Reply



4/1/2010 11:14:26 AM #

If you want to achieve excellence, you can get there today. As of this second, quit doing less-than-excellent work.

lose weight | Reply



4/1/2010 11:19:53 AM #

To acquire knowledge, one must study; but to acquire wisdom, one must observe.

acai lose weight | Reply



4/5/2010 12:37:11 PM #

Good post, but have you thought about How to migrate from dasBlog to BlogEngine.NET! before?

Data Matching Software | Reply



4/6/2010 9:50:38 AM #

Great post.It really contains valuable information.Thanks for sharing.

speed up job search | Reply



4/7/2010 11:59:11 AM #

Admiring the time and effort you put into your blog and detailed information you offer.

resume blasting software | Reply



4/8/2010 3:11:10 PM #

I just came across this blog I was I hope it gets fixed. Thanks

Webthesurfi Rugs Webdesign | Reply



4/12/2010 11:23:35 AM #

Useful info. Hope to see more good posts in the future.

custom usb | Reply



4/12/2010 11:23:58 AM #

You really know your stuff... Keep up the good work!

asus laptops | Reply



4/14/2010 8:29:27 AM #

Intriguing ideas and tips here. I'll come back soon for check your future post!

professional seo consultant | Reply



4/14/2010 5:36:40 PM #

thats some great info thanks - http://www.aboutmybaby.info

us | Reply



4/16/2010 5:03:50 AM #

Can't seem to figure out if i what if i didn't find this post. It's been a great help for me. Thanks for sharing!

Affordable Telemarketing | Reply



4/18/2010 1:28:52 PM #

Really interesting articles. I enjoyed reading it. Are these genuine images or has the artwork been touched up they are truly. Thanks for sharing a nice info.

us | Reply



4/18/2010 4:25:34 PM #

Interesting read, thanks for helping keep me busy at work ;)

us | Reply



4/22/2010 3:19:43 AM #

Everything is very open and very clear explanation of issues. It contains truly information. Your website is very useful. Thanks for sharing. Looking forward to more!

sonnerie gratuite pour portable | Reply



4/22/2010 3:50:04 AM #

one day i went shopping outside,and in an ed hardy store,I found some kinds of ed hardy i love most they are Your website is really good Thank you for the information

ed hardy | Reply



4/22/2010 10:59:36 AM #

Whatever is worth doing at all is worth doing well.

unsecured personal loans | Reply



4/25/2010 12:14:13 AM #

Super Artikel, hat mich echt nachdenklich gemacht. Meiner Meinung nach, dass das Thema noch wichtiger wird in Zukunft. Ich halte mich mit Sicherheit auf dem Laufenden!

sample mba application essays | Reply



4/26/2010 9:49:54 AM #

I admire your article.It contains valuable information.Thanks for Sharing

Mahabaleshwar Hotels | Reply



4/26/2010 7:47:25 PM #

Success is that old ABC - ability, breaks, and courage.

faxless payday loans | Reply



4/26/2010 7:50:07 PM #

The successful man will profit from his mistakes and try again in a different way.

online personal loans | Reply



4/27/2010 9:23:01 AM #

Wow, I never knew that How to migrate from dasBlog to BlogEngine.NET!. That's pretty interesting...

Yachtcharter Griechenland | Reply



4/27/2010 10:15:48 PM #

I\'m happy I found this blog, I couldnt discover any info on this subject matter prior to. I also run a site and if you want to ever serious in a little bit of guest writing for me if possible feel free to let me know, i\'m always look for people to check out my site. Please stop by and leave a comment sometime!

Rapidshare | Reply



4/28/2010 9:10:34 AM #

Good post, but have you thought about How to migrate from dasBlog to BlogEngine.NET! before?

software consultants | Reply



4/30/2010 11:44:16 AM #

Shoot for the moon. Even if you miss, you'll land among the stars.

payday loans | Reply



4/30/2010 11:50:06 AM #

The noblest search is the search for excellence.

payday loans | Reply



5/3/2010 3:44:56 PM #

Your blog provides us a very great information. Its really very helpful to me to find result on search engine. Hope to hear more good information related to searching from your side.

Agra Hotels | Reply



5/3/2010 3:57:16 PM #

You made some good points there. I did a search on the topic and found most people will agree with your blog. Thanks

Agenzia Web Marketing | Reply



5/3/2010 4:03:29 PM #

Thank you for this great information, you write very well which i like very much. I really impressed by your post.

Trasloco | Reply



5/4/2010 3:11:58 PM #

What I liked about her, she didn't give you a lot of horse manure about what a great guy her father was.

Links of London Jewellery | Reply



5/4/2010 6:53:39 PM #

Top Rapidshare Search engine

Rapidshare Search engine | Reply



5/6/2010 11:18:26 AM #

Wow, I never knew that How to migrate from dasBlog to BlogEngine.NET!. That's pretty interesting...

Yachtcharter Griechenland | Reply



5/19/2010 3:18:31 AM #

Pingback from 421.animejin.com

Dakota Bulb Car Parts Headlight, Dakota Indians Pictures

421.animejin.com | Reply



5/20/2010 10:47:10 AM #

That's great, I never thought about How to migrate from dasBlog to BlogEngine.NET! like that before.

Accounting Homework Help | Reply


Add comment




biuquote
  • Comment
  • Preview
Loading



Disclaimer: The opinions expressed in this blog are own personal opinions and do not represent the companies view.
© 2000-2011 exDream GmbH & MobileBits GmbH. All rights reserved. Legal/Impressum

Poll

Which platform should Soulcraft be released on next?











Show Results Poll Archive

Recent Games

Soulcraft

Fireburst

Jobs @ exDream

Calendar

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910