Solved

Crystal Report Viewer buttons generate error

Posted on 2010-09-14
4
369 Views
Last Modified: 2012-05-10
I've got a crystal report viewer control on an aspx web form. The report displays correctlly but when I click any button on the control I get the following error

 
Server Error in '/sinot' Application.

Object reference not set to an instance of an object.



Description: 

An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.



Exception Details: 

System.NullReferenceException: Object reference not set to an instance of an object.



Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the

exception can be identified using the exception stack trace below.



Stack Trace:

NullReferenceException: Object reference not set to an instance of an object.]

CrystalDecisions.Web.ReportAgentBase.() +536

CrystalDecisions.Web.ReportAgent.get_RequestContext() +10

CrystalDecisions.Web.ReportAgent.get_{() +7

CrystalDecisions.Web.ReportAgent.(Booleani) +80

CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +474

System.Web.UI.Control.PreRenderRecursiveInternal() +62

System.Web.UI.Control.PreRenderRecursiveInternal() +125

System.Web.UI.Control.PreRenderRecursiveInternal() +125

System.Web.UI.Page.ProcessRequestMain() +1545



Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

Open in new window


This error happens on the deployment environment and does not on my development environment. On development works as expected.
0
Comment
Question by:jose_rijos
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Sounds like something isn't being saved for the post back event.

mlmcc
0
 

Accepted Solution

by:
jose_rijos earned 0 total points
Comment Utility
Recompiling again solved the problem.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now