"Logon Failed. Please Try Again." [modified]
-
Im trying to load a Crystal Report I've made in Visual Studio to a Crystal Report Viewer on my form. I used the "database expert" to add the connection (ODBC RDO) to my Access 2007 database. The database has no password on it. The Visual Studio field explorer detects all the fields correctly from my command ( SELECT * FROM Table1; ) so I know it can connect to the databse. The problem is when I run the program I get prompted for the Logon ID and Password with "Logon Failed. Please Try Again." every time I type something in (or dont type anything in). Again there is no password on this DB. There is no reason this prompt to appear since there is no need for logon info to make this connection. All of my code VB (this is a test project) Imports CrystalDecisions.CrystalReports.Engine Form Load: Dim crpt As New ReportDocument() Dim rPath As String = "C:\CrystalReport1.rpt" crpt.Load(rPath) CrystalReportViewer1.ReportSource = crpt Does anyone know how to prevent the Login ID and password prompt from being displayed for the connection? All suggerstions are greatly appreciated -- modified at 18:07 Thursday 29th November, 2007
-
Im trying to load a Crystal Report I've made in Visual Studio to a Crystal Report Viewer on my form. I used the "database expert" to add the connection (ODBC RDO) to my Access 2007 database. The database has no password on it. The Visual Studio field explorer detects all the fields correctly from my command ( SELECT * FROM Table1; ) so I know it can connect to the databse. The problem is when I run the program I get prompted for the Logon ID and Password with "Logon Failed. Please Try Again." every time I type something in (or dont type anything in). Again there is no password on this DB. There is no reason this prompt to appear since there is no need for logon info to make this connection. All of my code VB (this is a test project) Imports CrystalDecisions.CrystalReports.Engine Form Load: Dim crpt As New ReportDocument() Dim rPath As String = "C:\CrystalReport1.rpt" crpt.Load(rPath) CrystalReportViewer1.ReportSource = crpt Does anyone know how to prevent the Login ID and password prompt from being displayed for the connection? All suggerstions are greatly appreciated -- modified at 18:07 Thursday 29th November, 2007
Is there something buried in the CrystalReport1.rpt file that is wanting you to log in?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Is there something buried in the CrystalReport1.rpt file that is wanting you to log in?
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
I wish I could help you out further, but only thing I can think of is that it must be something on the Crystal Reports end. It's been a fair while since I've tackled CR, so my apologies :-O
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
I wish I could help you out further, but only thing I can think of is that it must be something on the Crystal Reports end. It's been a fair while since I've tackled CR, so my apologies :-O
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon