我不确定这里有什么问题。我试图更好地了解这个异常,但所有细节都参考了C#编程。
------ Build build:Project:ReportV,Configuration:Debug ------正在跳过'DataSourceV.rds'。物品是最新的。跳绳 'DataSetV.rsd'。物品是最新的。跳过'Report1.rdl'。物品了 至今。 Fin delagénération - 0个错误,0个警告 ==========构建:1成功或最新,0失败,0跳过========== System.ServiceModel.CommunicationObjectFaultedException:通信对象, System.ServiceModel.Channels.ClientFramingDuplexSessionChannel,不能 用于通信,因为它处于Faulted状态。
服务器堆栈跟踪:at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen() 在System.ServiceModel.Channels.OutputChannel.BeginSend(消息 消息,TimeSpan超时,AsyncCallback回调,对象状态)at System.ServiceModel.Dispatcher.DuplexChannelBinder.BeginRequest(消息 消息,TimeSpan超时,AsyncCallback回调,对象状态)at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartSend(布尔 完成同步) System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishEnsureOpen(IAsyncResult的 结果,布尔完成(异步)at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartEnsureOpen(布尔 完成同步) System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.FinishEnsureInteractiveInit(IAsyncResult的 结果,布尔完成(异步)at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartEnsureInteractiveInit() 在System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.Begin() 在System.ServiceModel.Channels.ServiceChannel.BeginCall(String action,Boolean oneway,ProxyOperationRuntime操作,Object [] ins, TimeSpan超时,AsyncCallback回调,Object asyncState)at System.ServiceModel.Channels.ServiceChannelProxy.InvokeBeginService(IMethodCallMessage methodCall,ProxyOperationRuntime operation)at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(即时聊天 消息)
在[0]处重新抛出异常:at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(即时聊天 reqMsg,IMessage retMsg)at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&安培; msgData,Int32类型)at Microsoft.ReportDesigner.Design.IPreviewProcessing.BeginSetItemPath(字符串 itemPath,AsyncCallback回调,Object asyncState)at Microsoft.ReportDesigner.Design.PreviewProcessingClient.BeginSetItemPath(字符串 itemPath,AsyncCallback回调,Object asyncState)at Microsoft.ReportDesigner.Design.WCFProcessingHost<> c__DisplayClass1.b__0(的AsyncCallback ac,Object s)at Microsoft.ReportDesigner.Design.WCFProcessingHost<> c__DisplayClass3b.b__39() 在 Microsoft.ReportDesigner.Design.WCFProcessingHost.ExecuteWcfCall(动作 wcfCall)at Microsoft.ReportDesigner.Design.WCFProcessingHost.ExecuteAsyncCall(Func`3 beginAction,AsyncCallback endAction)at Microsoft.ReportDesigner.Design.WCFProcessingHost.set_ItemContext(PreviewItemContext 价值) Microsoft.Reporting.WinForms.LocalReport.ChangeReportDefinition(DefinitionSource updatesSourceType,Action changeAction)at Microsoft.Reporting.WinForms.LocalReport.set_ReportPath(String value) 在Microsoft.ReportDesigner.Design.PreviewFrame.RefreshPreview()
答案 0 :(得分:0)
此错误消息与双工WCF服务有关。 由于WCF中的问题或服务器与客户端之间的连接,客户端无法完善WCF。
给出显示堆栈跟踪的代码。