+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Migration Tool

Migration Tool

67 posts, 0 answered
  1. Bryan Webster
    Bryan Webster avatar
    23 posts
    Registered:
    05 Apr 2010
    01 Apr 2011
    Link to this post
    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.
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    07 Apr 2011
    Link to this post
    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.

    All the best,
    Liubomir
    the Telerik team

  3. Jason M
    Jason M avatar
    108 posts
    Registered:
    15 Jan 2007
    20 Apr 2011
    Link to this post
    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
  4. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    20 Apr 2011
    Link to this post
    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,
    Lubomir Velkov
    the Telerik team

  5. Shaun Peet
    Shaun Peet avatar
    12 posts
    Registered:
    31 Aug 2004
    25 Apr 2011
    Link to this post
    Did this happen?  If so, where can I find it?
  6. Bryan Webster
    Bryan Webster avatar
    23 posts
    Registered:
    05 Apr 2010
    25 Apr 2011
    Link to this post
    Shaun,
    It appears they did post a change set 8754 on the 19th . Here's were you get it. http://sitefinitymigration.codeplex.com/SourceControl/list/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. http://www.lander.edu/Academics/Financial-Aid/Forms.aspx . Now imagine all those links missing. This is only one page.
  7. Shaun Peet
    Shaun Peet avatar
    12 posts
    Registered:
    31 Aug 2004
    26 Apr 2011
    Link to this post
    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.
  8. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    29 Apr 2011
    Link to this post
    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,
    Lubomir Velkov
    the Telerik team

  9. Marko
    Marko avatar
    148 posts
    Registered:
    30 Jul 2008
    03 May 2011
    Link to this post
    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?
  10. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    04 May 2011
    Link to this post
    Hi Marko,

    I uploaded a quick fix that sets the Parent property of every ListItem to its List. The changeset number is 8977.

    Greetings,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  11. Marko
    Marko avatar
    148 posts
    Registered:
    30 Jul 2008
    04 May 2011
    Link to this post
    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()

    The list items that errored out DO appear to have migrated, but they are the only ones that show up in LOCKED state.

    I don't know if that's related at all to the fact that all list items still do not seem to have a proper parent-child relationship.
  12. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    09 May 2011
    Link to this post
    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,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  13. Marko
    Marko avatar
    148 posts
    Registered:
    30 Jul 2008
    09 May 2011
    Link to this post
    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.
  14. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    12 May 2011
    Link to this post
    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,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  15. gabs002
    gabs002 avatar
    64 posts
    Registered:
    17 Dec 2009
    08 Jun 2011
    Link to this post
    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
  16. gabs002
    gabs002 avatar
    64 posts
    Registered:
    17 Dec 2009
    08 Jun 2011
    Link to this post
    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
  17. gabs002
    gabs002 avatar
    64 posts
    Registered:
    17 Dec 2009
    09 Jun 2011
    Link to this post
    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

     

  18. Mike Mutek
    Mike Mutek avatar
    15 posts
    Registered:
    03 Dec 2009
    09 Jun 2011
    Link to this post
    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
  19. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    13 Jun 2011
    Link to this post
    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,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  20. gabs002
    gabs002 avatar
    64 posts
    Registered:
    17 Dec 2009
    14 Jun 2011
    Link to this post
    Hello and thanks for a reply!
    So the problem is not in the Migration Tool, but in Sitefinity 4.1?

    Thanks, Gabriele
  21. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Jun 2011
    Link to this post
    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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  22. Mike Mutek
    Mike Mutek avatar
    15 posts
    Registered:
    03 Dec 2009
    21 Jun 2011
    Link to this post
    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
  23. Mike Mutek
    Mike Mutek avatar
    15 posts
    Registered:
    03 Dec 2009
    21 Jun 2011
    Link to this post
    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
  24. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    22 Jun 2011
    Link to this post
    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,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  25. Mike Mutek
    Mike Mutek avatar
    15 posts
    Registered:
    03 Dec 2009
    22 Jun 2011
    Link to this post
    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 (http://sitefinitymigration.codeplex.com/workitem/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.
  26. Mike Mutek
    Mike Mutek avatar
    15 posts
    Registered:
    03 Dec 2009
    22 Jun 2011
    Link to this post
    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
  27. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    23 Jun 2011
    Link to this post
    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,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  28. Daniel Plomp
    Daniel Plomp avatar
    112 posts
    Registered:
    14 Jun 2012
    23 Jun 2011
    Link to this post
    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:

    in this file, inside the Sitefinity4.x project:

    - Resources/Views/BackendOverviewTemplate.ascx

    And now everything is working okay.

    Maybe it will help you.

    Regards,
    Daniel
  29. Mike Mutek
    Mike Mutek avatar
    15 posts
    Registered:
    03 Dec 2009
    24 Jun 2011
    Link to this post
    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!

  30. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    27 Jun 2011
    Link to this post
    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
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
67 posts, 0 answered
1 2 3