Объект связи System.ServiceModel.Channels.ServiceChannel нельзя использовать для связи, поскольку он находится в состоянии Failed - PullRequest
0 голосов
/ 03 февраля 2011

Я получаю следующее:

System.ServiceModel.Comm
unicationObjectFaultedException: 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 MicrosoftIT.BGCOE.EndItem.ServiceFacade.BizServiceClient.GetUserID(String userAlias)
at MicrosoftIT.BGCOE.EndItem.Import.ImportBatchSet.Init()
at MicrosoftIT.BGCOE.EndItem.BatchProcessing.BatchProcessor.ProcessBatchSet(IBatchSet set)
at MicrosoftIT.BGCOE.EndItem.Service.ImportService.importServiceTimer_Elapsed(Object sender, ElapsedEventArgs e)

1 Ответ

0 голосов
/ 10 февраля 2011

Я мог бы решить эту проблему.Я заставил мой клиент работать с реальной учетной записью службы вместо учетной записи локального компьютера.Это решило проблему.

...