Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

The Report you requested requires further information

I have a report I created in VS 2013. It connect to SQL Server 2008 R2. I'm using Crystal Version 13.0.2000.0

When I send the report to print it works fine. When I try to use a CrystaReportViewer1 it runs and I see the first page, the group tree show the other pages of the report. If I try to go to the next page, or any page for that matter, I get the login screen. The code I use, c#, to set the viewer is,

Report mp = new Report()

mp.SetDataSource((DataTable)prosData);

CrystalReportViewer1.ReportSource= mp;

At which time the report runs and I see the first page. The login page show the server as a dataset, and want allow me to enter a database name but wants a user name and a password. Nothing I enter works.

Former Member
Former Member replied

This is a web app. I implementing the example. The line,

crReportDocument = (ReportDocument)Session["Report"];

Give me the error, Cannot implicitly convert type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' to'ProjectName.ReportDocument'. An explicit conversion exists (are you missing a cast?) also the line, crReportDocument.SetParameterValue("LocationId", fwsuser.currentLocation); Does fwsuser mean the current user id the app is running under?

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question