2011-02-03 61 views
0

我得到如下:通信對象,System.ServiceModel.Channels.ServiceChannel,不能用於通信,因爲它是處於故障狀態

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) 

回答

0

我能解決這個問題。我讓我的客戶端使用實際服務帳戶而不是本地計算機帳戶運行。這解決了這個問題。

+0

您能否讓這個接受的答案? – 2012-11-26 23:10:38

相關問題