Hey All,
I continuously get Logon failed error messages when I attempt to run launch a crystal report from an asp.net web application. I suspect that the permissions for the asp user are not correct but am not sure where I can change this. The code I use to launch is:
Dim cil As New CrystalReport2
'Put user code to initialize the page here
Dim myTable As CrystalDecisions.CrystalReports.Engine.Table
Dim myLogin As CrystalDecisions.Shared.TableLogOnInfo
For Each myTable In cil.Database.Tables
myLogin = myTable.LogOnInfo
myLogin.ConnectionInfo.Password = "mb"
myLogin.ConnectionInfo.UserID = "rgS"
myLogin.ConnectionInfo.DatabaseName = "ED"
myLogin.ReportName = "CrystalReport2"
myTable.ApplyLogOnInfo(myLogin)
Next
crystal.ReportSource = cil
Can anyone tell me what I should do to get this going?