Sitefinity site sync group pages - not working

Posted by Community Admin on 04-Aug-2018 08:33

Sitefinity site sync group pages - not working

All Replies

Posted by Community Admin on 20-Jul-2017 00:00

Hi,

I have upgraded two Sitefinity projects to 10.0.6421.0. Then start "site sync" pages, but a cannot sync pages under a group page.

 

The error: Expecting element 'root' from namespace ''.. Encountered 'None'  with name '', namespace ''

Below is the stack-trace  with error from Synchronization.log:

[20/07/2017 08:01:49] Item 'Test-Page' was not  sent.
Item information: id = '8a3b709a-4ba2-64df-bd6d-ff4a00a3ceee'; type = 'Telerik.Sitefinity.Pages.Model.PageNode'; provider = 'OpenAccessDataProvider'; action = 'Updated'
Error details:System.Runtime.Serialization.SerializationException: Expecting element 'root' from namespace ''.. Encountered 'None'  with name '', namespace ''.
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader)
   at Telerik.Sitefinity.Utilities.Json.JsonUtility.FromJson(String json, Type type, Encoding encoding)
   at Telerik.Sitefinity.Utilities.Json.JsonUtility.FromJson[T](String json, Encoding encoding)
   at Telerik.Sitefinity.SiteSync.SyncingManager.Export(ISiteSyncExportTransaction transaction, ISiteSyncSnapIn snapIn, ISiteSyncExportContext context, IQueryable`1& additionalTransactions)
   at Telerik.Sitefinity.SiteSync.SyncingManager.Export(ISiteSyncSnapIn snapIn, SiteSyncExportContext context)

 

* EDIT:

There is the log from destination server:

Timestamp: 7/20/2017 8:01:48 AM

Message: HandlingInstanceID: 0cf2769b-c3f7-4dbb-bd4c-411abd672e91
An exception of type 'System.ArgumentException' occurred and was caught.
------------------------------------------------------------------------
07/20/2017 08:01:48
Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Unable to find parent of type Telerik.Sitefinity.Pages.Model.PageNode  with ID 4f3b709a-4ba2-64df-bd6d-ff4a00a3ceee
Source : Telerik.Sitefinity
Help link :
ParamName :
Data : System.Collections.ListDictionaryInternal
TargetSite : Telerik.Sitefinity.Model.IDataItem GetParent(Telerik.Sitefinity.Publishing.WrapperObject, System.String, System.String, Telerik.Sitefinity.Fluent.FluentSitefinity)
HResult : -2147024809
Stack Trace :    at Telerik.Sitefinity.SiteSync.SiteSyncImporter.GetParent(WrapperObject component, String provider, String transaction, FluentSitefinity fluent)
   at Telerik.Sitefinity.SiteSync.SiteSyncImporter.ImportItemInternal(String transactionName, Type itemType, Guid itemId, WrapperObject item, String provider, ISiteSyncImportTransaction importTransaction, Action`3 postProcessingAction)
   at Telerik.Sitefinity.SiteSync.PagesImporter.ImportItemInternal(String transactionName, Type itemType, Guid itemId, WrapperObject item, String provider, ISiteSyncImportTransaction importTransaction, Action`3 postProcessingAction)
   at Telerik.Sitefinity.SiteSync.PagesImporter.ImportItem(String transactionName, Type itemType, Guid itemId, WrapperObject item, String provider, ISiteSyncImportTransaction importTransaction)
   at Telerik.Sitefinity.SiteSync.SiteSyncImporter.<>c__DisplayClassd.<ImportInternal>b__5(FluentSitefinity app)
   at Telerik.Sitefinity.SiteSync.SiteSyncImporter.RunInSpecificCulture(String culture, String transaction, Action`1 func, Action`2 logAction)
   at Telerik.Sitefinity.SiteSync.SiteSyncImporter.ImportInternal(ISiteSyncImportTransaction transaction)

 

 

Obviously the destination server searches for this parent parent - But it cannot be found .

Posted by Community Admin on 20-Jul-2017 00:00

I have tried to change the group page to normal page (added content  and selected template). - Didn't work :

The error message is the same

Telerik.Sitefinity.Pages.Model.PageNode: Test-Group - failed
Expecting element 'root' from namespace ''.. Encountered 'None' with name '', namespace ''.

 

However the  page template is successfully synced .

This thread is closed