Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'Invalid Report Source'...HELP!
Message
From
01/09/2003 09:33:37
 
 
To
All
General information
Forum:
ASP.NET
Category:
Reporting
Title:
'Invalid Report Source'...HELP!
Miscellaneous
Thread ID:
00825045
Message ID:
00825045
Views:
86
Months ago, when using VS.NET 1.0, the following code worked...but now [on a totally different machine] the same code bombs using VS.NET 1.1, with the error 'Invalid Report Source':

FrmViewer oViewer = new FrmViewer(); // form w/viewer control
RptTestReport oRpt = new RptTestReport(); // just a simple little RPT
oRpt.Database.Tables[0].SetDataSource(DtSampleTable); // data for report
oViewer.ViewerControl.ReportSource = oRpt;
oViewer.ShowDialog();

I get an error mesage on the very last line of code, when my report viewer loads..."Invalid Report Source"

Again, this worked perfectly under VS 1.0...but I can't get it to work under VS 1.1. I've tried different flavors of the syntax, and I recreated the report, but to no avail.

I'm pulling my hair out on this one...Help!

Thanks,
Kevin
Next
Reply
Map
View

Click here to load this message in the networking platform