|
-
Sep 24th, 2018, 04:48 AM
#1
Thread Starter
Member
[RESOLVED] Database name missing when loading crystal report
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 :

As you can see, the database name is missing, I don't understand why , I let you my code below :
VB.NET Code:
With crConnectionInfo
.ServerName = "servername"
.DatabaseName = "databasename"
.UserID = "id"
.Password = "password"
End With
CrTables = cryRpt.Database.Tables
For Each CrTable In CrTables
crtableLogoninfo = CrTable.LogOnInfo
crtableLogoninfo.ConnectionInfo = crConnectionInfo
CrTable.ApplyLogOnInfo(crtableLogoninfo)
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 !
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|