This is a migrated thread and some comments may be shown as answers.

Reports stop working on production server

3 Answers 190 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David Amm
Top achievements
Rank 1
David Amm asked on 18 Jul 2013, 12:22 PM
When we deploy our application to production the reports work fine for a period of time. Then the reports stop working and we get an "Object not set to a reference" error when trying to load any report. If we redeploy then the error goes away (for a period of time).

We are using Telerik Reporting v7.1.13.612 in an MVC4 web application running on Windows Server 2008 with IIS7 (Integrated Mode). The bin folder contains the assemblies Telerik.Reporting.dll and Telerik.ReportViewer.WebForms.dll (both v7.1.13.612) and the application pool has Read rights to both files.

Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
   at Telerik.Reporting.Processing.DocumentParametersManager`1.CreateManagers(IReportDocument definition)
   at Telerik.Reporting.Processing.DocumentParametersManager`1..ctor(IReportDocument definition)
   at Telerik.ReportViewer.WebForms.ReportRenderOperation.ProcessReport(ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext)
   at Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride()
   at Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride()
   at Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(HttpContext context, ICacheManager cacheManager)
   at Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)







 

3 Answers, 1 is accepted

Sort by
0
Victor
Top achievements
Rank 1
answered on 18 May 2016, 11:20 AM

Hi David!

 

I'm with the same problem, did you solved?

 

Thanks

0
Stef
Telerik team
answered on 20 May 2016, 02:30 PM
Hello David,

Please double-check the deployed configuration and make sure all assemblies are in the Bin folder and the application references them from that Bin folder - Deploying Web Applications.

In case your web application is running out-proc session state configuration, take a look at the Design Considerations for Out-proc Session State help article

Also if you use report parameters in code, their actual running values can be obtained from the processing equivalent of the report as illustrated in the Using Report Events help article.


If you need further help, please open a support ticket and send us a sample project reproducing the issue.

Regards,
Stef
Telerik
 

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

 
0
Victor
Top achievements
Rank 1
answered on 20 May 2016, 02:35 PM

Hi everybody!

Just to update you, I solved the problem. It was caused in my enviroment because a new way to connect database schemas was implemented. I guess your case is different.

Tags
General Discussions
Asked by
David Amm
Top achievements
Rank 1
Answers by
Victor
Top achievements
Rank 1
Stef
Telerik team
Share this question
or