about CrystalViewer
-
I'm using .NET 2002 version with Windows XP I have an error about CrystalViewer in ASP.NET when i drop CrystalViewer object from ToolBox to design WebPage then i build and run WebPage by Internet explore, programe occure an error: 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..get_7() CrystalDecisions.Web.CrystalReportViewer.OnInit(EventArgs e) System.Web.UI.Control.InitRecursive(Control namingContainer) System.Web.UI.Control.InitRecursive(Control namingContainer) System.Web.UI.Control.InitRecursive(Control namingContainer) System.Web.UI.Page.ProcessRequestMain() Who can help me the way to overcome the error up. Thank you!
-
I'm using .NET 2002 version with Windows XP I have an error about CrystalViewer in ASP.NET when i drop CrystalViewer object from ToolBox to design WebPage then i build and run WebPage by Internet explore, programe occure an error: 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..get_7() CrystalDecisions.Web.CrystalReportViewer.OnInit(EventArgs e) System.Web.UI.Control.InitRecursive(Control namingContainer) System.Web.UI.Control.InitRecursive(Control namingContainer) System.Web.UI.Control.InitRecursive(Control namingContainer) System.Web.UI.Page.ProcessRequestMain() Who can help me the way to overcome the error up. Thank you!
Where is your code? ;P Wender Oliveira .NET Programmer
-
Where is your code? ;P Wender Oliveira .NET Programmer
-
This is because you didn't set a report to your control... You must set the property "ReportSource" with your Report Object, Path of RPT file or Enterprise Document. Wender Oliveira .NET Programmer