Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 08, 2012 05:40 AM by Lajja
Aug 06, 2012 12:20 PM|LINK
i have deploy crystal report at live server. That report working properly at my place local mahine
when i upload over live server it is asking me for server login detail so i have write code as per below
Dim i As Integer
Dim LogonInfo As String()
Dim Server As String = "", Database As String = "", User As String = "", Pwd As String = ""
LogonInfo = ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString.Split(";")
For i = 0 To LogonInfo.Length - 1
Dim strTemp As String() = LogonInfo(i).Split("=")
Select Case strTemp(0).ToLower()
Server = strTemp(1)
Database = strTemp(1)
Case "user id"
User = strTemp(1)
Pwd = strTemp(1)
CRViewer.ReportSource = rptName
Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
myConnectionInfo.DatabaseName = Database
myConnectionInfo.UserID = User
myConnectionInfo.Password = Pwd
myConnectionInfo.IntegratedSecurity = True
Dim myTableLogOnInfos As TableLogOnInfos = CRViewer.LogOnInfo()
For Each myTableLogOnInfo As TableLogOnInfo In myTableLogOnInfos
myTableLogOnInfo.ConnectionInfo = myConnectionInfo
Still it is askind for credential so plz give me solution for this....
Aug 06, 2012 12:36 PM|LINK
please check this
Aug 06, 2012 01:31 PM|LINK
Please check that you not save your report as "Save with data" option in file menu, then untick and save.
Also If it is possible than you check give live database credential to report and save it and deploy again.
Still if you have problem. then check your live database credentials.
see below link.
Aug 07, 2012 07:12 AM|LINK
Please check that you not save your report as "Save with data" option in file menu, then untick and save
Where i will find this option..??? in file menu i didnt get any such option.
Can you tell me how i will change report credential ?? from export Database option.. ??
Aug 07, 2012 09:53 AM|LINK
Aug 07, 2012 01:19 PM|LINK
How to assign credential so subreport in crystal report. (in vb.net )
please share code.. i m facing problem in this..
Aug 08, 2012 05:34 AM|LINK
Help me out on this....
Aug 08, 2012 05:40 AM|LINK
I have same issue ... your answers did not help me... please help me