我有一个包含两个数据集的报告。每个数据集都连接到两个不同的数据源。数据库位于同一台服务器上。
我可以在 Visual Studio 2008 的预览版中毫无问题地运行报表,并毫无问题地从两个数据集中提取数据。
但是,当我在您发布时尝试从系统运行报告时出现错误。
它会生成以下异常:
System.ServiceModel.FaultException: An error has occurred during report processing.
---> Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing.
---> Microsoft.ReportingServices.ReportProcessing.DataSetExecutionException: The execution failed for the shared data set 'DATASET_NAME'.
---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset ''.
---> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors
Server stack trace:
en System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]:
en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
en ReportServices.ReportExecutionServiceReference.ReportExecutionServiceSoap.Render(RenderRequest request)
en ReportServices.