Hi, I have a big issue and I don't find a solution even if the problem seems common.

On my computer, my crystal report load perfectly fine, but when I try to run my application on another computer, a pop-up SQL connection appears like this one :

Name:  Error CR.PNG
Views: 787
Size:  8.9 KB

As you can see, the database name is missing, I don't understand why , I let you my code below :

VB.NET Code:
  1. With crConnectionInfo
  2.             .ServerName = "servername"
  3.             .DatabaseName = "databasename"
  4.             .UserID = "id"
  5.             .Password = "password"
  6.         End With
  8.         CrTables = cryRpt.Database.Tables
  9.         For Each CrTable In CrTables
  10.             crtableLogoninfo = CrTable.LogOnInfo
  11.             crtableLogoninfo.ConnectionInfo = crConnectionInfo
  12.             CrTable.ApplyLogOnInfo(crtableLogoninfo)
  13.         Next

I want to deploy on a windows 7 computer with SQL 2008, if you already have the problem or if you have any idea I would be very grateful.

Have a nice day !