Symptom
- Run a Crystal Report in a Visual Studio .NET application.
- Drill down on a group.
- "Error: The report you requested requires further information."
Environment
- SAP Crystal Reports, Developer Version for Visual Studio .NET.
- Microsoft Visual Studio .NET (2010 / 2012 / 2013).
Reproducing the Issue
- Use ReportDocument.SetDatabaseLogon("username", "password") in page_load sub.
- Use postback code to process the report.
Resolution
- When using postbacks, use the code below:
If not ispostback()
Dim rpt as new ReportDocument()
Rpt.Load(pathtoreport)
Session.Add(“report”, report)
crystalReportviewer.reportsource = rpt
else
crystalReportviewer.reportsource = session(“report”)
Keywords
postback, cr for vs, web , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To
Product
Crystal Reports 2008 V1 ; SAP Crystal Reports 9.0 ; SAP Crystal Reports XI ; SAP Crystal Reports XI R2