Migration Tool
I've been testing the Migration Tool on a large 3.7 SP3 site that's been in development for about 8 months and I am anxious to get on 4.0 asap.
Prior to today I've been having some luck with this tool with some
issues I'll discuss in more detail later. I realize it's still an alpha
release.
Here is the most recent issue I just found.
I just downloaded and installed the latest 4.0 RC (4.0.992.0) and the latest version of the Migration Tool (0.3 Alpha) both released today. I've upgraded all the sites (with no issues) and all the items for the migration have been reinstalled.
The web service for 3.7 seems to be running fine. Upon, installing the 4.0 part and then relaunching the application... when I go to Migration, I get this error. "The file 'applicationname/SessionPage.aspx' does not exist."
Can you please address this.
Hi Bryan,
protected
override
void
InitializeControls(GenericContainer controlContainer)
var page = BuildManager.CreateInstanceFromVirtualPath(
"~/SessionPage.aspx"
,
typeof
(Page));
I've been trying to get the migration tool compiled, but am having some trouble. The 4.0 parts compiled just fine, but on the 3.7 side I get "[resource] does not contain a constructor that takes [#] arguments" etc. I'm running 3.7.2022...is there a minimum compatible version? I couldn't fin it listed anywhere.
Hi Matt,
You have to use Sitefinity 3.7 SP3( build 2096) or 3.7 SP4( build 2136).
Greetings,
Ivan Dimitrov
the Telerik team
Loving the new advancements. True sign of a good company is they listen to their customers and you're doing just that. Keep up the good work.
Few things I thought I'd mention with the current version 4884.
1. When importing page groups it puts them all at the route level. I have page groups inside of page group inside of more page groups. They all end up on the same level.
2. It appears that when it migrates users and roles it associates all pages to the owner of the last imported user account. In other word after it's done importing everything it changes the owner of all pages to the last user it imports. Or maybe it's the first, either way, it's not the original owner of the page.
3. After importing the pages it's not allowing me to delete some of those pages.
4. It automatically enables translations for all pages.
I'll likely have more later. The pages are actually working, but it appears they are being associated with the templates and themes that were imported. I have a feeling the reason they're not working now is because there's some custom functionality in my templates that's causing the problem. I'll let you know if that is definitely the case.
Hi Bryan Webster,
Thank you very much for reporting these issues. Going through the list:
1. This indeed was an issue and I have fixed it in the latest change set 5006, uploaded to codeplex.
2. This also has been fixed in this change set.
3. Are you trying to delete the page programmatically or via the UI? I'm testing with one of our corporate sites with 534 pages and I'm able to delete them all without problem using the UI.
4. I'm not quite following what is the issue here, could you please explain with more details?
Lupi,
Feel's like we work in the same office. I like that. There's an issue and you fix. Awesome! This is really starting to become a very solid solution. I'm getting excited. You're hard work is not going unnoticed. :D
Here's my latest.
First to respond to the below.
3. I was trying to delete pages through the UI. It would allow me to delete some pages under some page groups, but not the page groups themselves. Haven't try deleting pages or page groups since your most recent version, so can't say for sure if it's still doing this.
4. Localization, is I believe another name for it. It's being enabled automatically. When on the pages view I now have the ability to choose an ES, FR, DE, and BG under the translations column next to each page.
Here are my latest observations. I'll rank these in order of most important to least important.
1. All widget (controls) on pages have they're permissions set to be viewable by administrator only by default after import. This should be viewable by everyone by default. As you can imagine, going into more than 750+ pages and having to enable each and every widget to viewable to everyone is too much work. From what I can see there is no way to change the widgets permissions all in one action.
2. Widgets (Controls) that exist in 4.0 that have existing conterparts in 3.7 should automatically associate themselves with the right control in 4.0. Example: The image control. Even though the control is both in 3.7 and 4.0 I get the (Error migrating control of type Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine, Version=3.7.2096.2, Culture=neutral, PublicKeyToken=dfeaee0e3978ac79 - not supported) message.
3. Inside the Content Blocks on my pages I get the content (the html etc.), but, links to image and documents that exist in libraries are not resolving as they should. Nothing shows up in place of what was there (images, document links) and in the html inside the content block it looks like this (<img sfref="[Libraries]59fcad59-953c-49b6-8634-84ad2d0c3cf6" style="float: right; margin-left: 10px;" alt="Teacher at Head of Class" src="#Link.Not.Resolved#" class="border" />)
4. When migrating, selecting all only brings in the users and roles the first time I run it. I have to run it again to bring in everything else (by selecting all that didn't come over an running again). Not a big deal, but just thought I'd make you aware.
5. Pages didn't automatically work for me directly after migrating. Got, I believe, a 404 error, instance of null or somethinge like that. Obviously, I know that it doesn't currently bring images for your themes, it also doesn't bring in other files, like external javascripts. Upon closing the sitefinity dev server, going into VS and bring in all my scripts and images and updating my CSS to your new template and theme file structure and the recompiling the app, When I launched the Sitefinity dev server and project again all was well. Page worked and so did my templates and themes. Anybody having trouble here should definitely see this. tv.telerik.com/.../spontaneous-installation-design-with-sitefinity-40-rc
Thanks Lupi!!
Forgot to mention the most recent version of the migration tool that I have installed is 5017 and 4.0.992.0
Hello Bryan Webster,
Thank you again for your feedback. I checked-in some changes that address the following issues:
1. I'm adding permissions to controls now but it doesn't seem to work at 100% - some controls still aren't viewable unless you're logged in the back end.
2. I added this image control - it is an extension to the regular Image control. I will test it to see how it works.
3. I don't parse these special links (with sfref). You can expect this in some of the next check-ins.
4. There was an issue with users and metadata definitions, but it should work fine with the latest change set.
5. I made some modifications to the code, so these issues should be sorted.
Hey Lupi,
Noticed that the version for download of the migration tool is still 5017 (the one I've already tested). These changes don't appear to be in that version. Do you have a newer version ready and just not uploaded yet? Just curious, when you say checked-in, what does that mean?
Hello Bryan,
You can download the latest version if you go to this address -
http://sitefinitymigration.codeplex.com/SourceControl/list/changesets
There is a label "Latest Version" with links to Download and Browse. Click Download to get latest change set - 5376.
Hey Lupi,
Just got back to testing and wanted to try the newest 5635 release to see how thing are coming along.
Migration Export Service project seemed to open and compile down fine. When I tried to open the migration project (the 4.0 part) I got a warning saying the "source control provider associated with the solution could not be found". Whether I choose to remove the souce control bindings or not, it seems to be missing some stuff and throws errors when I try to compile the project.
Can you have a look at it?
Thanks
Bryan
Hello Bryan Webster,
I uploaded a new Change Set 5763 - actually it's just the project file for the 4.0 project that fixes these issues. I am sorry for the inconvenience.
Best wishes,Hey Lupi,
Just got done trying the official sitefinity 4.0 release (4.0.1098.0) with the latest change set of the migration tool (5887).
It seems to time out during migration a lot. About every 3-5 minutes. Sometimes it crashes the sitefinity integrated server and I have to close down and restart it. And start the migration over and over again.
I have several questions.
Are you the only developer working on this tool?
If so, can you request other developers join you to elevate the priority of completing this tool sooner?
Do you have a time frame you expect this tool to be completed?
I've been testing this for a while now and it's getting closer, but I feel like I'm spending too much time testing without being able to say I'm any closer to getting upgraded to 4.0.
It's imperative that we be able to make the transition to 4.0 successfully and as soon as we can.
Hello Bryan Webster,
The tool is probably not timing out. The web service that refreshes the log file seems to have stopped working around the release of RC2. I'll have to investigate what change broke it. The might seem unresponsive when it migrates a library with many files in it - it does not report every single file, but rather the whole library.
As for your other question - I'm the only developer at the moment working on the migration tool .
Hi Lupi,
I ran into this error as I am migrating my 3.7 SP4 website to 4.0 official release (build 4.0.1098.0). It happens when the tool is trying to migrate the pages. I have my pages in 2 languages (english and arabic).
Here's the error message from the log file
Insert of '21558530-0e78898b-69ea-4ecb-80d2-1a0290b66bb7' failed: System.Data.SqlTypes.SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute() at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute() at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes) INSERT INTO [sf_page_data] ([html_title_], [html_title_ar], [html_title_en], [keywords_], [keywords_ar], [keywords_en], [addtnl_rls_rdrct_t_default_one], [allow_multiple_urls], [buffer_output], [cache_duration], [cache_output], [cache_profile], [comments_count], [crawlable], [culture], [enable_event_validation], [enable_session_state], [enable_theming], [enable_view_state], [enable_view_state_mac], [error_page], [external_page], [head_tag_content], [include_script_manger], [is_auto_created], [last_control_id], [localization_strategy], [locked_by], [maintain_scroll], [master_page], [multiple_navigation_nodes], [page_languagelink_id], [require_ssl], [response_encoding], [sliding_expiration], [template_id], [theme], [trace], [trace_mode], [translation_initialized], [ui_culture], [url_evaluation_mode], [validate_request], [view_state_encryption], [description_], [description_ar], [description_en], [title_], [title_ar], [title_en], [url_name_], [url_name_ar], [url_name_en], [allow_comments], [allow_track_backs], [app_name], [approve_comments], [content_id], [content_state], [date_created], [default_page_id], [draft_culture], [email_author], [expiration_date], [last_modified], [last_modified_by], [original_content_id], [ownr], [post_rights], [publication_date], [source_key], [status], [vrsion], [views_count], [visible], [votes_count], [votes_sum], [voa_version]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (set event logging to all to see parameter values) System.Data.SqlTypes.SqlTypeException: SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute() at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute() at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
at DynamicModule.ns.Wrapped_OpenAccessPageProvider_7bf3d9d305cc4b0da1d027e3041230a3.CommitTransaction() at Telerik.Sitefinity.Data.ManagerBase`1.SaveChanges() at Migration.Classes.MigrationPages.ImportPage(MigrationPageGroup pageGroupContent) at Migration.MigrationModule.ImportPages()
Hi Bryan Webster,
It seems to be an issue with the a date in invalid format. I have added this in the TODO list for the next release of the migration tool.
Kind regards,
Liubomir
the Telerik team
Hi Liubomir,
Thank you for your reply although you have used the wrong name :)
Do you have any info about when the next release of the migration tool will be out?
Thanks,
George
Hi ,
Sorry for the name confusion. Unfortunately for now the project has been frozen, so hopefully a new version will be released some times in the next week.
Best wishes,I very much need this as well right now...
Just tried working with the 6443 version. I get this server error trying to use the newest MigrationExportService. Haven't tried working with the 4.0 part.
Version:1.0
StartHTML:0000000149
EndHTML:0000006038
StartFragment:0000000199
EndFragment:0000006004
StartSelection:0000000199
EndSelection:0000006004
Server Error in '/Sitefinity' Application.
--------------------------------------------------------------------------------
Could not load file or assembly 'MigrationExportService' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.BadImageFormatException: Could not load file or assembly 'MigrationExportService' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'MigrationExportService' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[BadImageFormatException: Could not load file or assembly 'MigrationExportService' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
System.Reflection.Assembly.Load(String assemblyString) +28
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46
[ConfigurationErrorsException: Could not load file or assembly 'MigrationExportService' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +54
System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +600
System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +128
System.Web.Compilation.BuildManager.CompileCodeDirectories() +265
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320
[HttpException (0x80004005): Could not load file or assembly 'MigrationExportService' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729
[HttpException (0x80004005): Could not load file or assembly 'MigrationExportService' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8897503
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4209
Hello Bryan Webster,
I believe your Sitefinity 3.7 site is built against .NET 3.5. The MigrationExportService by default targets .NET 4.0. I believe this inconsistency is causing these errors.
Regards,Couple of questions.
1. Are you, or have you changed it so the default doesn't target 4.0 any more and goes back to 3.5?
2. If not, why not?
Up until a few weeks ago I had no trouble with the MigrationExportService working with my SP3 project and not screwing up the project.
If by your saying I need to change my SP3 project (which by default targets 3.5) to target .NET 4.0 for this service to work, it seems that you may be unaware that by changing the target framework makes controls in the project no longer work. For example, the Generic Content control will show up in the back end with this "Object reference not set to an instance of an object".
Please advice.
Hi Bryan Webster,
No, I meant you need to change the target framework of the MigrationExportService from 4.0 to 3.5. It will run just fine, you just need to update some assembly referencies.
Kind regards,Very good. I will give that a try. Thanks for the speedy reply.
I'm anxious to give the latest a try. I'll let you know how it goes.
Using 6465. I Got the MigrationExportService working now, but the Migration project throws errors even though all references are corrected. Getting these two errors.
Error 1 The type or namespace name 'Migration' does not exist in the namespace 'Migration' (are you missing an assembly reference?) C:\Documents and Settings\bwebster\Desktop\sitefinitymigration-6465\Sitefinity4.0\MigrationModule.cs 12 17 Migration
Error 2 The type or namespace name 'MigrationExportServiceClient' could not be found (are you missing a using directive or an assembly reference?) C:\Documents and Settings\bwebster\Desktop\sitefinitymigration-6465\Sitefinity4.0\MigrationModule.cs 33 11 Migration
Hello Bryan,
It looks like the service reference proxy can't build properly. In the Migration module project (4.0 side) expand the Service References node and you will see a node named "Migration" - this is the 3.7 export service. Right click it and select Configure Service Reference. Then in the Address field type the URL path of your MigrationExportService.svc file and click OK.
If after this you get compilation errors in Reference.cs about an not existing Migration namespace - open Reference.cs and replace text like
Migration.Migration.IMigrationExportService
with
Migration.IMigrationExportService
How's the migration tool coming? I've been checking back and there seems to have been no new developments for a month.
Hi there,
I can't seem to get much of anything to migrate over. First issue - I cannot migrate users. Error says:
Error importing user Elizabeth:
Object reference not set to an instance of and object
I don't even know where to start! Help! I am importing a 3.7 project in .NET 3.4 to a new 4.0 project.
Hello Chris Hayward,
Did you try the latest changeset? There were issues with users having the same email (it was an empty email in fact) but this is now properly handled and reported. Please, try the latest changeset of the migration too.
User
Best wishes,
Liubomir
the Telerik team
Just got done trying the latest change set 7918 against my 3.7 SP3 project (University website 1000+ pages, 20+ users, thousands of images and documents).
1. Users aren't brought over as Chris has stated.
2. Controls that exist in a 3.7 project by default should point to their 4.0 counter parts after being migrated. They are not. Example: Image control, News View, Events view and pretty much any control that isn't generic content block.
3. References to images and documents in the libraries are broken. If you go into edit mode in a generic content control that had images or documents linking to libraries in the sitefinity 3.7 project they are now broken. By looking at the html the references are there but say this <a sfref="[Libraries]68f9a9a2-f85d-454c-8766-4b4b43c25771" href="#Link.Not.Resolved#">.
Please let me know when these are fixed. Thank you.
Hello Bryan ,
There are a few particularities in the 4.0 users that prevent a normal transfer of users. First of all all users in 4.0 must have an unique email. 3.7 users usually didn't have emails so after the first blank emailed user is transferred all sub sequential users fail to be inserted as their email is considered as duplicate, even though it's empty.
The controls like News, Events should be transferred, although their settings aren't yet, because there are quite a lot of differences between the 3.7 and 4.0 controls. We have planned to review this in a future version of the tool.
We are aware of the issue with the image and document links that are broken. We have this in our TODO list for a future version of the migration tool.
Bryan - I've just read your 4 months odyssey with the migration tool. You’re a patient man, thanks for sharing!
Sitefinity - We upgraded our license to enterprise assuming we ‘d be able to quickly (and easily!) migrate our site from 3.7 SP3 to 4.X. I just checked the CodePlex page and it’s still in 0.6 Beta 2 release on February 9th, 2011. When will a production version of the migration tool be available?
Thanks!
J
Hi Jason M,
We're working on the updated version right now. We expect to upload the new version by the end of Friday (April 22nd)
All the best,Did this happen? If so, where can I find it?
Shaun,
It appears they did post a change set 8754 on the 19th . Here's were you get it. sitefinitymigration.codeplex.com/.../changesets
I don't work for Telerik, but I'm happy to share this information as I hope that many more people, besides myself, will experiment with the tool which will hopefully prompt them to expedite it's completion.
Jason,
Sorry to hear about the upgrade to enterprise extravaganza. Again, let's hope because of the fact that customers such as yourself are now laying down BIG $$$ for 4.0 licenses, they'll get this thing finished sooner.
I might be able to use the tool if it wasn't for the image and document libraries #Link.Not.Resolved# issue. The rest I may be able to work around. That one is major.
See this page. www.lander.edu/.../Forms.aspx . Now imagine all those links missing. This is only one page.
So is there an official update coming? The last one I used (going from 3.7 to 4.1) had lots of jquery errors which prevented the migration to start.
Hi Shaun Peet,
The update is on its way, but currently I'm been pulled away with other tasks and can't find time to finish the new version.
Greetings,Hello,
I just tried a test migration from 3.7 to 4.1, using the 8960 build, and ran into a few issues. At the moment, I'd like to focus on the LISTS module issues.
So, I migrated all of my 21 lists, and when I go to Content/Lists screen, I can see all the lists by their name and a number of items below each list's name. Looks good so far. However, clicking on ANY of the lists results in ALL list items from ALL lists being presented on one page, all mashed together. It doesn't matter which list you click on, they all present the same listing of ALL list items from everywhere. It seems that there is a disconnect between which items belong to which list (parent-child realtionship is lost).
To troubleshoot a little, I created a brand new, fresh list (within the same SF4.1 site), and added a couple of sample lists items to it. This list shows up among the other (migrated) lists just fine, and clicking on THIS NEW LIST brings up only its own items, like it should. But clicking on any of the migrated lists brings up all list items, like I said, INCLUDING the newly-added sample items from this other list. i don't know if that helps troubleshoot this further.
Anybody else experience this?
Hi Marko,
I uploaded a quick fix that sets the Parent property of every ListItem to its List. The changeset number is 8977.
Greetings,Didn't work. I downloaded the entire latest code set (8977) and did the whole process again. Same results.
Perhaps worth noting is that I do get some errors during the migration process. They seem related to a few specific items. Here's one of them (all errors look like this, only different list items):
Error migrating list "An item with the URL '/lists/how-many-schools-may-i-select-' already exists.":
An item with the URL '/lists/how-many-schools-may-i-select-' already exists.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Telerik.Sitefinity.ContentWorkflows.IService.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag)
at Telerik.Sitefinity.ContentWorkflows.ServiceClient.SendMessage(String operationName, Boolean isCheckedOut, Guid workflowDefinitionId, Guid contentId, String providerName, Dictionary`2 contextBag)
at Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(String wokflowUrl, String operationName, WorkflowDefinition workflowDefinition, Guid contentId, String providerName, Boolean isCheckedOut, Dictionary`2 contextBag)
at Telerik.Sitefinity.Workflow.WorkflowManager.MessageWorkflow(Guid itemId, Type itemType, String providerName, String operationName, Boolean isCheckedOut, Dictionary`2 contextBag)
at Migration.Classes.MigrationLists.ImportList(MigrationList listContent)
at Migration.MigrationModule.ImportLists()
Hello Marko,
I have uploaded a new changeset - 9031 - that should address the issues with invalid UrlNames for Lists and ListItems. Please try and tell if you get other errors.
Greetings,The errors for url names seem to be resolved. The whole migration process (for Lists only) went without any errors. However, the parent-child relationship is still broken. Clicking on any list name results in all list items from all lists displayed.
Hello Marko,
I was able to reproduce the problem. This issue is very strange - it seems that setting the .Parent property of a ListItem is not enough. I will have to look through our code for the Lists module to find out the piece of code that correctly assigns a ListItem to List.
Best wishes,Hello,
I'm just working with the Migration Tool (http://sitefinitymigration.codeplex.com/releases/view/65523) with the newest version. I did every step which is written in the documentation. But when I start my 4.1. Project and go to administration -> Content -> Migration, the site is loading, loading, loading and doesn't come to an end. Sometimes there is a connection-Error after a very long time, sometimes the site is loadad and shown without any formatting. When I then try to migrate nothing happens.
What did I wrong?
I hope you can help me with my problem - it's very urgent!
Thank You, Gabriele
Now I tried to set up my project with version 4 (not 4.1) of Sitefinity, downloaded de MIgration Tool Version from February. I get to the Migration-page, but when I start the process, it seems, that the process is doing something, but it does not come to an end.
It's a little bit frustrating - we bought the licence for Sitefinity 4 and we are absolutly not able to migrate from 3.7 to 4.
Hope you can help!
Thanks, Gabriele
Maybe this could help you to help me ;)
The site looks like you can see in the 2 screenshots after many many minutes of waiting.
Then I get following java-Script-Error:
Details zum Fehler auf der Webseite
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; Zune 4.7)
Zeitstempel: Thu, 9 Jun 2011 06:13:03 UTC
Meldung: 'Sys' is undefined
Zeile: 52
Zeichen: 1
Code: 0
URI: http://localhost:32542/PSNWeb/sitefinity/Content/Migration
Meldung: 'Sys' is undefined
Zeile: 58
Zeichen: 1
Code: 0
URI: http://localhost:32542/PSNWeb/sitefinity/Content/Migration
Meldung: Object expected
Zeile: 359
Zeichen: 1
Code: 0
URI: http://localhost:32542/PSNWeb/sitefinity/Content/Migration
Meldung: 'Sys' is undefined
Zeile: 569
Zeichen: 25
Code: 0
URI: http://localhost:32542/PSNWeb/sitefinity/Content/Migration
Meldung: Object expected
Zeile: 356
Zeichen: 2
Code: 0
URI: http://localhost:32542/PSNWeb/sitefinity/Content/Migration
I am also running into the issue of the Migration page never actually loading. When i first was setup the migration tool, i was able to get the page - it was slow, but it did load. However, i received JQuery errors, once the page loaded and when i clicked "Begin MIgration".
After applying a potential fix (http://sitefinitymigration.codeplex.com/discussions/258680) i found on the discussion boards on codeplex, the page will not load again.
I am attempting to use the latest build of the tool, Sitefinity Migration Tool 0.6 Beta 3 on sitefinity 4.1.1395.0.
Has anyone had any success in this environment? What did you have to do outside the documentation to get to to work?
Thanks,
Mike
Hi Mike Mutek,
There were some issues that involved custom modules that will be fixed in the upcoming SP2 release due some time next week. Because of these issues many custom modules were not working properly. Also, I hope to release a new changeset that will handle specific cultures like en-US, es-ES, etc.
Best wishes,Hello and thanks for a reply!
So the problem is not in the Migration Tool, but in Sitefinity 4.1?
Thanks, Gabriele
Hello,
We found a small bug that prevents module initialization in some cases like the migration( which is not exactly a content based module) and fix it. There should not be problem with the SP2.
Regards,
Ivan Dimitrov
the Telerik team
Ok, i downloaded SP2 and upgraded my 4.1 project yesterday. I was able to get to the page just fine a few times, so I decided to give it a try. I tried migrating the "Users" over, it began to load which was a good sign, but it never finished. I let it run over night and came into the same loading screen i left yesterday afternoon.
I attempted to give it another try this morning, but instead of users, i am trying Libraries. This time, Firefox's error console is giving a "no element found" error on
"localhost:21445/sitefinity/Services/Migration/Migration.svc/ClearLog"
Even though i received this message, i've let it run for 30 minutes so far. No change in the "Migration Log" yet.
Any advice in the matter is greatly appreciated!
Mike
I also wanted to point out that the Migration.log.htm file under sitefinity/logs is empty and that there are no other errors found in the error.log either.
please advise
Hi Mike Mutek,
I uploaded a new changeset that among other things now handles specific cultures for content and pages - e.g. en-US - could you try installing it with the SP2 release of Sitefinity?
Best wishes,Hey Lubomir,
I was able to update the tool with your latest changeset successfully. The updated MigrationExportService required me to add a reference to System.Web.ApplicationServices in order for it to build properly. After adding this, i updated both .dlls (migration.dll and MigrationExportService.dll) in both projects. I also updated the .svc in both as well. I attempted to run the tool and ran into a display issue with a few errors. The display issue just seemed like the css wasn't being applied. i check the error console in firefox and saw a few "Sys is not defined" errors as well as "jQuery is not defined". I corrected the jquery issue by following steps found here (sitefinitymigration.codeplex.com/.../1011). After doing so, i recompiled and tried the tool again. this time the page displayed correctly, but after selecting "Libraries" and clicking "Get Counts", i ran into the same issue where the screen would display a loading image but never actually go any further (same as before). I tried restarting IIS and restarting the project just to give it another try. This time, the screen loaded again without any CSS applied again ( - migration-no-css.jpg attached). I clicked the migration link from this non formatted page, it then loads fine. I enter my url and select libraries and then get counts again, it hangs at the loading screen. Basically, there really wasn't any change in behavior, unfortunately.
Hopefully this helps you narrow down as to what is going wrong.
I forgot to mention that there isn't anything written to the log files either. No errors in the console. I don't mind troubleshooting the issue if you have something you'd like me to try.
Thanks for your help in the matter!
Mike
Hi Mike Mutek,
I'm not exactly sure what might be the problem, but did you modify the web.config file of your 4.x project to add the needed service entries as described in the documentation on the Codeplex site?
Greetings,Hi Mike,
I also had the problem with no CSS loading and when clicking on the GetCount button, nothing happens.
But I received an error when navigating to the /content/migration url. In my case, it was the error that Jquery was not a function.
So I added this line:
<
script
src
=
'http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'
></
script
>
So i started over from scratch (second time now). Not sure why it is different this time but i'm able to get the tool to function, but it doesn't work all the time. It's as if it will only work after i click pages and then try the migration tool. Either way, i don't know why its so touchy, but its working so that's good.
I am running into errors when importing pages though that i'm hoping you can help with. So far, the only pages that import ok are External Pages, group pages, and a select few of my regular pages...
The error log is showing the following:
Error migrating page Account Sign Up:
You are trying to access item that no longer exists. The most probable reason is that it has been deleted by another user.
at DynamicModule.ns.Wrapped_OpenAccessPageProvider_ef709e25ada643979dc50d412d031f3a.GetPageNode(Guid id)
at Telerik.Sitefinity.Modules.Pages.PageManager.GetPageNode(Guid id)
at Migration.Classes.MigrationPages.ImportPage(MigrationPageGroup pageGroupContent)
at Migration.MigrationModule.ImportPages()
---------------------------------------------------------------------------------------------------------------------------------------
Error migrating page Home:
Insert of '21558530-386dc2c7-1b59-4560-9ae3-46089258a552' failed: Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
The statement has been terminated.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
INSERT INTO [sf_page_data] ([html_title_], [html_title_bg], [html_title_de], [html_title_en], [html_title_es], [html_title_fr], [keywords_], [keywords_bg], [keywords_de], [keywords_en], [keywords_es], [keywords_fr], [themes_bg], [themes_de], [themes_en], [themes_es], [themes_fr], [buffer_output], [cache_duration], [cache_output], [cache_profile], [code_behind_type], [comments_count], [crawlable], [culture], [enable_event_validation], [enable_session_state], [enable_theming], [enable_view_state], [enable_view_state_mac], [error_page], [external_page], [head_tag_content], [include_script_manger], [is_auto_created], [last_control_id], [localization_strategy], [locked_by], [maintain_scroll], [master_page], [page_languagelink_id], [require_ssl], [response_encoding], [sliding_expiration], [template_id], [theme], [trace], [trace_mode], [translation_initialized], [ui_culture], [url_evaluation_mode], [validate_request], [view_state_encryption], [description_], [description_bg], [description_de], [description_en], [description_es], [description_fr], [title_], [title_bg], [title_de], [title_en], [title_es], [title_fr], [url_name_], [url_name_bg], [url_name_de], [url_name_en], [url_name_es], [url_name_fr], [allow_comments], [allow_track_backs], [app_name], [approve_comments], [content_id], [content_state], [date_created], [default_page_id], [draft_culture], [email_author], [expiration_date], [last_modified], [last_modified_by], [original_content_id], [ownr], [post_rights], [publication_date], [source_key], [status], [vrsion], [views_count], [visible], [votes_count], [votes_sum], [voa_version]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
(set event logging to all to see parameter values) Telerik.OpenAccess.RT.sql.SQLException: String or binary data would be truncated.
The statement has been terminated.
at Telerik.OpenAccess.RT.Adonet2Generic.Impl.PreparedStatementImp.execute()
at OpenAccessRuntime.Relational.conn.PooledPreparedStatement.execute()
at OpenAccessRuntime.Relational.RelationalStorageManager.generateInserts(NewObjectOID oid, Int32 index, ClassMetaData cmd, PersistGraph graph, Int32[] fieldNos, CharBuf s, Object[] oidData, IntArray toUpdateIndexes)
at DynamicModule.ns.Wrapped_OpenAccessPageProvider_ef709e25ada643979dc50d412d031f3a.CommitTransaction()
at Telerik.Sitefinity.Data.ManagerBase`1.SaveChanges()
at Telerik.Sitefinity.Modules.Pages.PageManager.SaveChanges()
at Migration.Classes.MigrationPages.ImportPage(MigrationPageGroup pageGroupContent)
at Migration.MigrationModule.ImportPages()
-------------------------------------------------------------------------------------------------------------------------------------------
These errors occur for a lot of my pages... I'm able to access them just fine on my 3.7 SP4, .net 4.0 standard site. Is there anything I can try to correct these errors?
Thanks for your help thus far!
Hi Mike,
The error is thrown inside Migration.Classes.MigrationPages.ImportPage. It looks like the parent ID of the page into transaction could not be found. I checked the code and it is quite strange, because if we don't find the parent we set it to the frontend root node
// Check if there is already a page with this UrlName
var checkUrlNameItem = m_PageManager.GetPageNodes().Where(t => t.UrlName == urlName).FirstOrDefault();
if (checkUrlNameItem != null)
// Use the page Id since it's unique
urlName = pageContent.Id.ToString();
Guid parentGuid = pageContent.ParentId;
if (parentGuid == Guid.Empty)
parentGuid = SiteInitializer.FrontendRootNodeId;
PageNode parent;
parent = m_PageManager.GetPageNode(parentGuid);
Could you put a breakpoint over highlighted lines and see whether the id is correctly set?
Kind regards,
Ivan Dimitrov
the Telerik team
Yes, it seems to be pulling the ID correctly for the most part. there are a few that it doesn't find a parentguid for though. I set the breakpoints to print the ParentGuid (pg) at each break. Below is an example of my output.
A first chance exception of type 'Telerik.OpenAccess.Exceptions.DataStoreException' occurred in a38341c919d042849a74d084d206b61c
Function: Migration.Classes.MigrationPages.ImportPage(Telerik.Sitefinity.Services.Migration.MigrationPageGroup), Thread: 0xEFC <No Name>, The value of initial pg is 00000000-0000-0000-0000-000000000000
Function: Migration.Classes.MigrationPages.ImportPage(Telerik.Sitefinity.Services.Migration.MigrationPageGroup), Thread: 0xEFC <No Name>, The value of pg if pg is empty is cfcf86b7-7673-494e-91a1-e2c088cb68a2
Function: Migration.Classes.MigrationPages.ImportPage(Telerik.Sitefinity.Services.Migration.MigrationPageGroup), Thread: 0xEFC <No Name>, The value of parent pg is cfcf86b7-7673-494e-91a1-e2c088cb68a2
A first chance exception of type 'Telerik.OpenAccess.Exceptions.DataStoreException' occurred in a38341c919d042849a74d084d206b61c
Function: Migration.Classes.MigrationPages.ImportPage(Telerik.Sitefinity.Services.Migration.MigrationPageGroup), Thread: 0xEFC <No Name>, The value of initial pg is 00000000-0000-0000-0000-000000000000
Function: Migration.Classes.MigrationPages.ImportPage(Telerik.Sitefinity.Services.Migration.MigrationPageGroup), Thread: 0xEFC <No Name>, The value of pg if pg is empty is 00000000-0000-0000-0000-000000000000
Function: Migration.Classes.MigrationPages.ImportPage(Telerik.Sitefinity.Services.Migration.MigrationPageGroup), Thread: 0xEFC <No Name>, The value of siteinitializer.frontendrootnodid pg is 00000000-0000-0000-0000-000000000000
Function: Migration.Classes.MigrationPages.ImportPage(Telerik.Sitefinity.Services.Migration.MigrationPageGroup), Thread: 0xEFC <No Name>, The value of parent pg is f669d9a7-009d-4d83-ddaa-000000000002
Any ideas?
Hi Mike,
When the parent is not found the pages should be created under the root of the frontend SiteMap. If you want you can try to add these pages under another location and see if the migration will pass.
Greetings,
Ivan Dimitrov
the Telerik team
Hello,
I still get following java-script errors:
Details zum Fehler auf der Webseite
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; Zune 4.7)
Zeitstempel: Tue, 5 Jul 2011 13:48:52 UTC
Meldung: 'Sys' is undefined
Zeile: 52
Zeichen: 1
Code: 0
URI: http://localhost:52173/PSNWebsite/sitefinity/Content/Migration
Meldung: 'Sys' is undefined
Zeile: 58
Zeichen: 1
Code: 0
URI: http://localhost:52173/PSNWebsite/sitefinity/Content/Migration
Meldung: 'Sys' is undefined
Zeile: 580
Zeichen: 25
Code: 0
URI: http://localhost:52173/PSNWebsite/sitefinity/Content/Migration
Please can you help me with this problem? It's very urgent!
Thank You!
Hello!
I tried to migrate using the Mozilla Firefox instead of the Microsoft Internet Explorer. Everything seems to work fine, but when migrating News the process just didn't to anything anymore, but the Icon "Working..." was still visible. But by then the migration-process seemed to work fine.
Do you know, what's the problem?
Thank you!
Hello,
Meldung: 'Sys' is undefined indicates for some issue with the AJAX. Do you have problems on another machine or using our Project Manager as a web server instance?
You can also check App_Data/Sitefinity/Logs/ if there are errors thrown from the migration tool.
Greetings,
Ivan Dimitrov
the Telerik team
Ready to see how far this tool has progressed since last time I checked several months ago. I've been following it and heard on one of your webinars you be releasing a serious update with SP 4.2. Has this happened yet?
Looking for these improvements... especially the "sfref attributes". That's a BIG one.
Migration Tool from 3.7(tentatively postponed for after the 4.2 release)
Hi Bryan,
The latest release of the Migration Module is with Sitefinity 4.2, it's now part of the product. We've enhanced the blogs migration and are continuing with News, Pages and Libraries.
All the best,