Deploying crystal reports with vb.net application

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top