Web service call errors: cannot be used for communication because it is in the Faulted state RRS feed

  • Question

  • I have an SharePoint timer job to call CRM Web service. It has beeen working in the past for long time. It suddenly stopped working. Here is the error. I tried to reset IIS, reboot the machine. None works.  

    Exceptions: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. Server stack trace: at System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) 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 System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout) at System.ServiceModel.ClientBase`1.System.ServiceModel.ICommunicationObject.Close(TimeSpan timeout) at System.ServiceModel.ClientBase`1.Close() at System.ServiceModel.ClientBase`1.System.IDisposable.Dispose() at Bc.Crm.Extentions.CrmOnlineAccess.GetBcContracts(String queryFetchXml) at Bc.SharePoint.Extentions.SyncCrmTimerJobDefinition.Execute(Guid targetInstanceId)

    Thursday, July 12, 2012 12:08 PM


All replies