?
Solved

Crystal Report Viewer buttons generate error

Posted on 2010-09-14
4
Medium Priority
?
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 101

Expert Comment

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

mlmcc
0
 

Accepted Solution

by:
jose_rijos earned 0 total points
ID: 33710131
Recompiling again solved the problem.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 34308578
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

765 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