Hi. I developed the application and now when i run on any other computer except the developed one so all insertion is fine but when it comes to crystal report so it gives error that Login Failed. This is my code which produce the crystal report:
Above this code there is a insert statement and then the code:
Code:
Try
If chkReport.Checked = True Then
retrieveOneRecord("SaleMaster", " SaleID = " & txtSaleID.Text)
Dim objCr As New crSale
objCr.SetDataSource(dsSql.Tables("SaleMaster"))
frmSaleReport.crvSale.ReportSource = objCr
frmSaleReport.Show()
End If
If i run the same setup on developed machine so its working but not on any other computer. Please guide me for this. Why its failing.