free geoip Community Server Migration Script -- Announcing CSverter 1.0 - Jayson's Blog - jaysonKnight.com
jaysonKnight.com
Welcome to my corner of the internet

Community Server Migration Script -- Announcing CSverter 1.0

Anyone who’s been following this blog lately is aware Robert McLaws and myself have been diligently working on a .Text to Community Server migration utility (thanks again for all your hard work Rob, the wizard looks awesome!).  I’m pleased to announce the release of version 1.0 of this tool, you can download it via this link!  Note: This release supercedes my previous releases (the console application), and I have overwritten the zip archive with 1.0 (had to use the previous name, DotTextCS for the archive for links from previous posts, but the new name of the utility itself is CSverter).  If for some reason you still need the previous version (for example, if you're a glutton for punishment), let me know and I'll send it to you.

This wizard should alleviate many of the headaches some of you guys have been running into, and the process is completely automated now.  Have a look at the readme included in the archive, and I highly recommend you read Robert’s release notes before diving into the wizard.  I will reiterate here just for the sake of clarity:

  • Right now, the source and destination databases need to be on the same server. If enough people need to move between separate servers, I can add it later.
  • You need to run the wizard on a machine where the CS web application is installed. This is because the temporary web service we use to create users and blogs needs to run in the HttpContext of the application.
  • You will need to set up CS and change the web.config file to point to the destination database you will use to complete the migration. Again, this is because the web service will use those settings to create blogs, users, and blog groups.
  • Depending on the number of users, blogs, posts, referrers, etc, this process can take SEVERAL HOURS. DTS is rather fast, but it still took over seven hours to migrate LonghornBlogs.com
  • You may need to use the CS admin UI to change the blog theme after the migration. I'm looking into why this isn't working, but it's not a showstopper, so I'm releasing it anyway

From the feedback we’ve received so far, supporting seperate server machines is the hot topic (due to many people hosting with an ISP and not having access to the actual machine)…I’ll speak with Robert and we’ll address this soon.  It’s also worth mentioning that when specifying the ‘Blog URL Address’, you need to use a fully qualified web address (i.e. http://yoursite.com/cs/blogs), otherwise it will hang.  I will be publishing the code for the engine itself (not the wizard, that’s Robert’s call as it’s his code ) within the next couple of days.

If you end up deleting a blog via the blog admin pages in CS (perhaps you want to recreate the blog with the wizard, or re-run one of the DTS packages), some of the associated data for the blog in the underlying tables will not be removed, namely in cs_Links and cs_LinkCategories…what this means is that if you attempt to re-run the DTS package, it will fail on those steps due to primary key violations.  I just discovered this issue with CS today and have addressed it with the folks over at Telligent.  Of course, this doesn’t affect new installs.  If you run into a situation where you need to drop and then recreate a specific blog, contact me and I’ll send you a query that cleans everything up.  Feel free to drop feedback either here, or over on Robert’s blog.  Last but not least, enjoy it and happy migrating!


Posted Feb 25 2005, 06:04 PM by Jayson Knight

8 Comments

Robert McLaws wrote re: Community Server Migration Script -- Announcing CSverter 1.0
on 02-26-2005 9:00 AM
Just a note, the tool was really designed for clean installations. It will gracefully attempt to handle situations where CS has already been set up and has users, but no guarantees. It really is best to start with a pristine database and do a "Quick Install".
jayson knight wrote re: Community Server Migration Script -- Announcing CSverter 1.0
on 02-26-2005 9:35 AM
Agreed, just trying to cover all the bases...perhaps it was a bit badly worded.

So yes, you should start with a clean CS DB, however if you decide to delete a blog (after the migration) via the blog admin page, and plan on re-migrating that blog over via a saved DTS package generated by this tool, it will fail due to the fact that all related data isn't actually removed from the CS db. This is an issue with CS, not the CSverter utility...clean installs are not affected. Sorry if there was any confusion :-).
Dave Kekish wrote re: Community Server Migration Script -- Announcing CSverter 1.0
on 02-26-2005 8:19 PM
Great. I was going to work on migrating my site today and came here to get the latest version. Cool,
jayson knight wrote re: Community Server Migration Script -- Announcing CSverter 1.0
on 02-27-2005 7:21 AM
My link for the latest bits was linking to the wrong build...I have corrected the link, so if you downloaded the utility recently, please re-download it for the full GUI wizard. Sorry for the confusion.
audio wrote re: Community Server Migration Script -- Announcing CSverter 1.0
on 03-22-2005 4:21 AM
excerpts. wrote UpgradeTimesForBlogs
on 04-06-2005 2:25 AM
Clint Miller wrote re: Community Server Migration Script -- Announcing CSverter 1.0
on 04-06-2005 7:09 PM
indeed--the link does still seem to be broken!
Jason wrote re: Community Server Migration Script -- Announcing CSverter 1.0
on 04-20-2005 7:13 AM
When I ran the app everyting went fine until it got to about 97% where it crashed with a 404 error. see error text below:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The request failed with HTTP status 404: Not Found.
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at CSverter.Form1.BeginMigration()
at CSverter.Form1.WizardPage10_AfterDisplay(Object sender, EventArgs e)
at Divelements.WizardFramework.WizardPageBase.OnAfterDisplay(EventArgs e)
at Divelements.WizardFramework.Wizard.GoNext()
at Divelements.WizardFramework.Wizard.b(Object A_0, EventArgs A_1)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------

Any suggestions would be greatly appreciated.

Add a Comment

(required)  
(optional)
(required)  
Remember Me?

Copyright © :: JaysonKnight.com
External Content © :: Respective Authors

Terms of Service/Privacy Policy