.Net Crystal Reports + Dataset + Logon Failure Error

Dear All,
I am facing following Problem. Please help

I'm developing an VB.NET Windows Forms application that uses CR for VS.NET

(original version shipped with VS.NET 2003 ).

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:

'## Creating Instance of Report

Dim rpt As New InvoiceRctWithoutPOrderNo

Dim Ds As New DataSet

'## Following Code will fill up typed dataset and also save it to '## its related location.

Ds = WriteXMLSchema()
rpt.SetDataSource(Ds)

CrystalReportViewer1.ReportSource = rpt

CrystalReportViewer1.DisplayGroupTree = True

CrystalReportViewer1.DisplayToolbar = True
Thanks and Regards

Shabbir

[1885 byte] By [ShabbirKanchwala] at [2007-12-25]