I created a project in VB .Net and MS Access and used Crystal Reports for Visual Studio 2005 for reporting purpose.
I made setup of the project. When I run setup on my system reports run
smoothly but when i run it on another computer reports displays Databes
Login Dialog Box and requires username and password;
my report code is below
oledbcon(frm_cominv_main.combo_siteid.SelectedValue)
da = New OleDbDataAdapter("select * from commercial_purchase", conn)
da.Fill(ds, "commercial_purchase")
rpt.Database.Tables(0).SetDataSource(ds)
CrystalReportViewer1.ReportSource = rpt