嗨:我们的一个客户随机地遇到了这个例外。我们放入一些重试代码和保持活动的代码,但它仍然会发生。因此,我正在查看客户发送给我们的SQL日志。我看到了这个。
因此,基本上,其中一个报告在某些字段中没有数据。这会是这个问题的原因吗?
library!ReportServer_0-15!150c!10/11/2010-11:50:22:: i INFO: RenderForNewSession('/CMSm5/PharmaPac_Live/Custom/Documents/Purchase Order.Pharma.2008')
processing!ReportServer_0-15!150c!10/11/2010-11:50:23:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 9., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 9.
webserver!ReportServer_0-15!62c!10/11/2010-11:50:23:: i INFO: Processed report. Report='/CMSm5/PharmaPac_Live/Custom/Documents/Purchase Order.Pharma.2008', Stream=''
library!ReportServer_0-15!13ec!10/11/2010-11:50:50:: Call to GetReportParametersAction(/CMSm5/PharmaPac_Live/Custom/Documents/Purchase Order.Pharma.2008).
library!ReportServer_0-15!13ec!10/11/2010-11:50:51:: i INFO: RenderForNewSession('/CMSm5/PharmaPac_Live/Custom/Documents/Purchase Order.Pharma.2008')
processing!ReportServer_0-15!13ec!10/11/2010-11:50:51:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 9., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 9.
library!ReportServer_0-15!13ec!10/11/2010-11:50:58:: Call to GetReportParametersAction(/CMSm5/PharmaPac_Live/Custom/Documents/Purchase Order.Pharma.2008).
library!ReportServer_0-15!13ec!10/11/2010-11:50:59:: i INFO: RenderForNewSession('/CMSm5/PharmaPac_Live/Custom/Documents/Purchase Order.Pharma.2008')
processing!ReportServer_0-15!13ec!10/11/2010-11:50:59:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 9., ;
Info: Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 9.发布于 2010-10-20 02:54:18
它可以在文本框或其他控件的条件表达式中使用。或在组/排序/筛选表达式中。
因此,大多数情况下,在某些条件或事件发生之前,它都是可以的,然后它会查找不存在的列。
抱歉,我说得有点含糊
也有可能底层的RDL也有轻微的损坏:你能重新部署吗?
发布于 2013-02-11 20:30:26
数据集中可能有一个字段对应于源存储过程中不再存在的列。报告中可能不再使用该字段,因为如果使用了该字段,则在运行报告时会出现真正的错误。
发布于 2013-10-17 17:29:18
对于坏的rdl,我得到了这个错误
<DataSets>
<DataSet Name="testDataSet">
<Fields>
<Field Name="ID">
<DataField />
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>如你所见,- DataField元素是空的。最奇怪的是,这样的RDL是通过VS报表设计器预览显示的,而不是作为本地报表显示在ReportViewer中,也不是由web浏览器窗口中的报表服务显示。在正确填充DataField并将报告重新部署到报告中之后
<DataField>ID</DataField> 错误已消失
https://stackoverflow.com/questions/3971359
复制相似问题