T
TJoker .NET
I'm developing an VB.NET Windows Forms application that uses CR for VS.NET
(original version shipped with VS.NET 2002 - my VS.NET has the latest SP
installed, no SPs for CR).
My reports get their data from ADO.NET Datasets that are pre-populated by
other modules of the application.
What I need to do is to use these datasets as the datasources of my reports.
Fine, I know how to do that and it works perfectly on my development box.
The trouble comes when I deploy the application on the client machine.
I created a installation project in VS.NET, added the required CR merge
modules, added the keycode, and it seems to install everything fine. But
when it tries to show the reports in the CrystalReportViewer control, it
pops-up the 'Database Login' dialog.
Who is talking about database here? I'm already giving all the needed data.
The reports were all created from typed datasets, using datasources of type
ADO.NET(XML).
It seems that a lot of people have the same problem but the only workaround
so far appears to be "use only one DataTable inside your dataset, containing
all the data you need". I'm trying not to have to resort to this approach
because my datasets are very complex with many tables.
What I've read in other similar posts is that it seems that CR gets lost
when the dataset has more than one table
Is this a confirmmed bug or am I missing something ?
This is how my code looks like:
reportDocument = new MyCustomReport()
reportDocument.SetDataSource(myLoadedDataset)
ReportViewerControl.ReportSource = reportDocument
Thanks
TJ!
(original version shipped with VS.NET 2002 - my VS.NET has the latest SP
installed, no SPs for CR).
My reports get their data from ADO.NET Datasets that are pre-populated by
other modules of the application.
What I need to do is to use these datasets as the datasources of my reports.
Fine, I know how to do that and it works perfectly on my development box.
The trouble comes when I deploy the application on the client machine.
I created a installation project in VS.NET, added the required CR merge
modules, added the keycode, and it seems to install everything fine. But
when it tries to show the reports in the CrystalReportViewer control, it
pops-up the 'Database Login' dialog.
Who is talking about database here? I'm already giving all the needed data.
The reports were all created from typed datasets, using datasources of type
ADO.NET(XML).
It seems that a lot of people have the same problem but the only workaround
so far appears to be "use only one DataTable inside your dataset, containing
all the data you need". I'm trying not to have to resort to this approach
because my datasets are very complex with many tables.
What I've read in other similar posts is that it seems that CR gets lost
when the dataset has more than one table
Is this a confirmmed bug or am I missing something ?
This is how my code looks like:
reportDocument = new MyCustomReport()
reportDocument.SetDataSource(myLoadedDataset)
ReportViewerControl.ReportSource = reportDocument
Thanks
TJ!