Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewer displays wrong report when I drill down

Status
Not open for further replies.

whyworry

Programmer
Feb 5, 2006
5
GB
Error caught in ICrystalReportViewerImpl::render
When I run report1 and drill down it is correct. When I run report2 in a new window it is also correct. The problem is when I switch to report1 window and attempt to drill down again then it displays a 'catastrophic error', when I click the back button to return to report1, I get the data of report2 so both windows now show report2.

I have tried all sorts and now confused, the users are getting frustrated, any suggestion please?
 
Sounds like you have 2 viewers open in some Crystal based product, but not bothering to post the software used and the version wastes time.

-k
 
It is CR ver9. The reports are called from ASP via CrystalParam.asp which talks to Report Application Server.
Many thanks
 
DHTML type viewer, content of error page below.
<%
'=================================================================================
'INSTANTIATE THE VIEWER AND DISPLAY THE REPORT THROUGH THE CRYSTAL REPORTS VIEWER
'=================================================================================

Response.ExpiresAbsolute = Now() - 1

' Create the Crystal Reports Viewer
Dim viewer
Set viewer = CreateObject("CrystalReports.CrystalReportViewer")
viewer.Name = "Crystal Reports Viewer"
viewer.IsOwnForm = true
viewer.IsOwnPage = true
viewer.IsDisplayGroupTree = false
viewer.HasToggleGroupTreeButton = True
viewer.HasExportButton = false
viewer.HasCrystalLogo = false
viewer.HyperlinkTarget = "_blank"
viewer.HasPageNavigationButtons = false
viewer.IsSeparatePages = false
viewer.HasPrintButton = false
viewer.HasZoomFactorList = false
viewer.HasSearchButton = false

' IMPORTANT NOTE:
' For a complete list of properties of the Page Viewer look in the RAS "COM Viewer SDK"
' help file found through Start | Programs | Crystal Enterprise 9 | Documentation

' Set the source for the viewer to the ReportClientDocuments report source
viewer.ReportSource = Session("oClientDoc").ReportSource

' Process the http request to view the report
viewer.ProcessHttpRequest Request, Response, Null

%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top