Print Page | Close Window

Added new parm to rpt, get Invalid Pointer error

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12241
Printed Date: 28 Apr 2024 at 4:39am


Topic: Added new parm to rpt, get Invalid Pointer error
Posted By: lqknox
Subject: Added new parm to rpt, get Invalid Pointer error
Date Posted: 04 Feb 2011 at 8:55am

I am working in Crystal reports that is bundled with Visual Studio 2008.  The report that I am working on contains several subreports.  I added a parameter to this report (the report already had 2 parameters).  I made the appropriate changes to my VB code-behind.  Now, the report won't print.  It seems to be having a problem when it tries to open the first subreport.  I receive the following error:

HTTP1:localhost:3686<br />HTTP2:localhost:3686<br />System.Runtime.InteropServices.COMException (0x80004005): Invalid pointer

   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.get_Subreport(String Name)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_Subreport(String name)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.GetSubreport(String subreportName)
   at CrystalDecisions.CrystalReports.Engine.Subreports..ctor(ReportDocument doc)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Subreports()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.OpenSubreport(String subreportName)
   at CrystalDecisions.CrystalReports.Engine.SubreportObject.OpenSubreport(String subReportName)
   at OACIS_Award_or_Deny_BudgetSummary_PrintRpt.Page_Load(Object sender, EventArgs e) in C:\Inetpub\wwwroot\OACISProject\OACIS\OACIS\Award or Deny\BudgetSummary_PrintRpt.aspx.vb:line 101

Is anyone familiar with this?  What do I need to do?  Any help is greatly appreciated!




Print Page | Close Window