【问题标题】:Error while despalying microsoft report using report viewer使用报表查看器对 Microsoft 报表进行删除时出错
【发布时间】:2011-05-29 20:56:46
【问题描述】:

我在发布 Microsoft 报表查看器时遇到了这个错误 但我没有在本地机器中找到 所以我的问题 -- 这个错误指的是什么以及如何解决它??

An error has occurred during report processing.
    Exception has been thrown by the target of an invocation.
        Object reference not set to an instance of an object.

感谢您的帮助。

【问题讨论】:

  • 您是在 .NET 应用程序中使用 ReportViewer 控件,还是只是直接在浏览器的报告管理器中查看报告?
  • 我在 a.net 应用程序中使用报表查看器控件
  • 你设法让它工作了吗?

标签: .net reporting-services reportviewer report


【解决方案1】:

您需要确保将 ProcessingMode 属性设置为本地或远程,具体取决于报告的托管位置。如果设置为Local,则需要设置LocalReport属性,否则在将报表分配给控件时需要使用ServerReport属性。

【讨论】:

    猜你喜欢
    • 2013-12-04
    • 2011-05-31
    • 2012-10-01
    • 1970-01-01
    • 2016-05-11
    • 2023-03-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多