cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal reports not running when I deploy project

Former Member
0 Kudos

The following code is running perfectly on the development computer but fails when I deploy on another computer. All computers are reading data from the same database (On the server) and all are running windows 10 64 bit

Dim da As New SqlClient.SqlDataAdapter(sqlTXT, cnSTR)
dt = New DataSet
da.Fill(dt, "Agreements")
da.Dispose()

Dim rpt As rptAgreements = New rptAgreements
Dim crConInfo As New ConnectionInfo
Dim crLogInfo As New TableLogOnInfo
With crConInfo
.ServerName = SvrString
.DatabaseName = "NaoProMIS"
.UserID = SlID
.Password = sPW
End With

crLogInfo.ConnectionInfo = crConInfo
rpt.Database.Tables(0).ApplyLogOnInfo(crLogInfo)
rpt.SetDataSource(dt)

crv.ReportSource = rpt
crv.ShowCloseButton = True
crv.ShowGroupTreeButton = False
crv.Show()

I have installed SAP Crystal reports runtime for .NET framework 13.0.9.1312 x64 on all machines. So why is it failing to work on the deployment computers and it works on the development computer?

Accepted Solutions (0)

Answers (0)