Deploying crystal reports with vb.net application

  • Thread starter Thread starter mona
  • Start date Start date
M

mona

Hello,

I want to deploy vb.net windows application on client's machine. Application
works fine until I try to view reports, developed with crystal report 9.
As soon as I try to view report it pops up a window to enter password for
database(SQL Server 2000).
I have specified user ID and password in my code, then why is it asking
again ?
In my project setup I have included Merge Modules also. Can someone please
help me in this ?

Thanks,
Mona
 
If you are using a dataset then try this syntax

First Populate your dataset.

CrystalReport.SetDataSource(Dataset)
CrystalreportView.Reportsource = CrystalReport

You will not need to specify login information anymore.
Hope It helps
 
Back
Top