Gravatar for

Question by Ben, Sep 17, 2015 3:21 PM

Sitecore Error on Workflow State Changes

When we change the workflow state for an item we encounter a silent error. The workflow state is updated, but none of the actions are fired, such as validation or email actions.

Sitecore 7.2 CES 7.0.7711

ManagedPoolThread #12 14:48:25 ERROR An error while updating occurred
Exception: System.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
Message: The requested operation cannot be performed in read-only mode.
Source: mscorlib

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 Coveo.AdminService.AdminService.IAdminService.UpdateSecurityProvider(CesMasterInformation p_Info, SecurityProviderConfig p_SecurityProviderConfig)
   at Coveo.AdminService.AdminServiceClientWrapper.PerformAdminServiceCall(Action p_Action)
   at Coveo.AdminService.AdminServiceClientWrapper.UpdateSecurityProvider(SecurityProviderConfig p_SecurityProviderConfig)
   at Coveo.AbstractLayer.Communication.CES.AdminModule.CreateSource(SourceConfig p_SourceConfig)
   at Coveo.AbstractLayer.Communication.CES.AdminModule.SetUpRequirements(String p_ServerUrl, String p_TargetSite, ForeignKeysConfiguration p_ForeignKeysConfiguration, IList`1 p_RankingIgnoredFields)
   at Coveo.AbstractLayer.Communication.CES.CESCommunication.InitializeAdminModule(String p_ServerUrl, String p_TargetSite, ForeignKeysConfiguration p_ForeignKeysConfiguration, IList`1 p_RankingIgnoredFields)
   at Coveo.SearchProvider.ProviderIndexBase.InitializeAdminModule()
   at Coveo.SearchProvider.ProviderIndexBase.Update(IIndexableUniqueId p_IndexableUniqueId, IndexingOptions p_IndexingOptions, IProviderUpdateContext p_Context, Boolean p_ShouldInitializeAdminModule)
1 Reply
Gravatar for

Answer by Jean-François L'Heureux, Sep 17, 2015 3:40 PM

"The requested operation cannot be performed in read-only mode." is an error thrown by CES when someone attempts to change the CES configuration when the index is in read-only mode.

Here, Coveo for Sitecore tries to update the automatically generated security provider. It does that operation at the beginning of every indexing operation. Here it is indexing the item whose workflow state was updated.

Your CES index seems to be in read-only mode. Here's what can set the index in read-only mode:

  • Less than 3GB free space on the index hard drive will automatically trigger the read-only mode because there's not enough space for index operations.
  • Someone's manually set the index in read-only mode in the CES admin tool.
  • Someone configured a read-only mode schedule in the CES admin tool.

You need a CES index in read-write mode to for Coveo for Sitecore to be able to index the Sitecore items as they are modified/created/deleted.

Hole this helps.

Ask a question