When creating a document programmatically using ContenrService the following error is reported in log:
ERROR Umbraco.Core.Sync.DefaultServerMessenger - [Thread 18] Error refreshing distributed list
System.InvalidOperationException: Cannot refresh by id if the idArrayType is null at Umbraco.Core.Sync.DefaultServerMessenger.PerformDistributedCall(IEnumerable`1 servers, ICacheRefresher refresher, MessageType dispatchType, IEnumerable`1 ids, Type idArrayType, String jsonPayload)
The document *is* published to both the master and slave. What is the significance of the error? Can it be ignored?
If the solution Dennis mentions above does not work for you would you then mind sharing your code so the c# wizards can have a look and figure out if there is something that needs to be changed in order to get rid of the error perhaps?
AddWhatsNew("Planning Service - Development Plan Consultations", 4009, "Planning Service - Development Plan Consultations", "Update to Review of Supplementary Guidance for Wind Energy Development...", "URL", "http://intranet/planningservice/devplanconsultations.asp", -1, "2014-12-03");
Errors still appearing in the log file! Other than the mild irritation caused by the presence of the errors, as our setup is in development and functionality is not compromised - the newly created documents being published to both the local and the distributed server, i.e., both caches are being successfully updated - I'm basically ignoring the errors for now.
Error Refreshing Distributed List (v6.2.1)
When creating a document programmatically using ContenrService the following error is reported in log:
ERROR Umbraco.Core.Sync.DefaultServerMessenger - [Thread 18] Error refreshing distributed list
System.InvalidOperationException: Cannot refresh by id if the idArrayType is null at Umbraco.Core.Sync.DefaultServerMessenger.PerformDistributedCall(IEnumerable`1 servers, ICacheRefresher refresher, MessageType dispatchType, IEnumerable`1 ids, Type idArrayType, String jsonPayload)
The document *is* published to both the master and slave. What is the significance of the error? Can it be ignored?
Umbraco v6.2.1 (Assembly version: 1.0.5261.28997)
Thanks.
Hi Angus,
Perhaps this thread from StackOverflow can help you to solve the error.
http://stackoverflow.com/questions/19131915/umbraco-content-syncing-issue-error-refreshing-a-node-in-the-distributed-list
Hope this heps,
/Dennis
Hi Angus
If the solution Dennis mentions above does not work for you would you then mind sharing your code so the c# wizards can have a look and figure out if there is something that needs to be changed in order to get rid of the error perhaps?
/Jan
Thanks for the prompt reply.
Newly created documents are being *successfully* published to BOTH the master and slave so this doesn't appear to be an authentication issue.
Calling the following method successfully creates and publishes the content but it generates the log file error:
Exmaple Call:
AddWhatsNew("Planning Service - Development Plan Consultations", 4009, "Planning Service - Development Plan Consultations", "Update to Review of Supplementary Guidance for Wind Energy Development...", "URL", "http://intranet/planningservice/devplanconsultations.asp", -1, "2014-12-03");
Angus - did you resolve this? I have the same issue in 6.2.1 and wondering if this is related:
http://our.umbraco.org/forum/getting-started/installing-umbraco/55867-Setting-up-distributedcall-for-Umbraco-load-balancing-with-Umbraco-7?p=1#comment193598
Hi Simon,
Errors still appearing in the log file! Other than the mild irritation caused by the presence of the errors, as our setup is in development and functionality is not compromised - the newly created documents being published to both the local and the distributed server, i.e., both caches are being successfully updated - I'm basically ignoring the errors for now.
/Angus
is working on a reply...