简体   繁体   English

SSRS 2016 报告服务器错误:未将对象引用设置为对象的实例

[英]SSRS 2016 reporting server error: Object reference not set to an instance of an object

I'm in the process of setting up a report in SSRS 2016. The report works well in Report Viewer, however when I run it in SSRS 2016 it gives me this from SSRS error log:我正在 SSRS 2016 中设置报告。该报告在报告查看器中运行良好,但是当我在 SSRS 2016 中运行它时,它从 SSRS 错误日志中给出了以下信息:

library!ReportServer_0-1!23e8!03/22/2019-09:21:03:: e ERROR: Error rending control: System.NullReferenceException: Object reference not set to an instance of an object. library!ReportServer_0-1!23e8!03/22/2019-09:21:03::e 错误:错误控制:System.NullReferenceException:未将对象引用设置为对象的实例。

library!ReportServer_0-1!23e8!03/22/2019-09:21:03:: e ERROR: Error rending control: System.NullReferenceException: Object reference not set to an instance of an object. library!ReportServer_0-1!23e8!03/22/2019-09:21:03::e 错误:错误控制:System.NullReferenceException:未将对象引用设置为对象的实例。

Please advise.请指教。 Has anybody seen this kind of behavior in SSRS 2016?有人在 SSRS 2016 中看到过这种行为吗? We are using SQL Server 2016 SP2 Standard Edition我们使用的是 SQL Server 2016 SP2 标准版

To get a better idea of the error, try checking the trace log files for a more detailed error message.要更好地了解错误,请尝试检查跟踪日志文件以获取更详细的错误消息。 You should see this in the LogFiles folder of the file path below.您应该在下面文件路径的LogFiles文件夹中看到这一点。 Find the most recent trace log file and search for the errors from your report by opening the file in a text editor and doing a find ( CRTL + F ) for the name of the report.查找最新的跟踪日志文件并通过在文本编辑器中打开文件并查找 ( CRTL + F ) 来查找报告中的错误。 These files are updated with the more recent records at the end of the file, so when searching you may want to begin at the bottom of the file and search upwards.这些文件会在文件末尾更新为最近的记录,因此在搜索时您可能希望从文件底部开始向上搜索。 If there aren't enough details to determine the cause of the error, increase the tracing level.如果没有足够的详细信息来确定错误的原因,请提高跟踪级别。 This can be done by increasing the value of the DefaultTraceSwitch property in the ReportingServicesService.exe.config file.这可以通过增加ReportingServicesService.exe.config文件中DefaultTraceSwitch属性的值来完成。 The referenced article above outlines the various modes and their corresponding values, with 0 (tracing disabled) being the lowest and 4 ( Verbose ) providing the most comprehensive details.上面引用的文章概述了各种模式及其相应的值,0(禁用跟踪)是最低的,4( Verbose )提供了最全面的详细信息。 After changing this setting, it will be effective for all reports executed once the file is saved.更改此设置后,一旦文件保存,它将对所有执行的报表生效。

C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\LogFiles

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SQL Server 2014错误:对象引用未设置为对象的实例 - SQL Server 2014 Error : Object reference not set to an instance of an object SQL Server安装失败错误-'对象引用未设置为对象的实例' - SQL Server installation failure error - 'Object reference not set to an instance of an object' SQL 服务器 2012 错误:object 引用未设置为 object 的实例 - SQL Server 2012 error: object reference not set to an instance of an object Reporting Services 2005:尝试导出到Excel时显示“对象引用未设置为对象实例。”错误 - Reporting Services 2005: Attempt to export to Excel gives “Object reference not set to an instance of an object.” error 获取错误对象引用未设置为对象的实例 - Getting error Object reference not set to an instance of an object Reporting Services对象引用错误 - Reporting Services Object Reference Error 你调用的对象是空的 - Object reference not set to an instance of an object 未将对象引用设置为C#中的对象SQL Server实例 - Object reference was not set to an instance of an object SQL Server in C# 在2012 Server上使用2016 Reporting Services(SSRS)? - Using 2016 Reporting Services (SSRS) on a 2012 Server? SSIS 数据流任务错误:未将对象引用设置为对象的实例 - SSIS Data Flow Task Error: Object reference not set to an instance of an object
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM