Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. "Logon Failed. Please Try Again." [modified]

"Logon Failed. Please Try Again." [modified]

Scheduled Pinned Locked Moved Database
databasecsharpvisual-studiohelptutorial
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Reveille
    wrote on last edited by
    #1

    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

    P 1 Reply Last reply
    0
    • R Reveille

      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

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      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

      R 1 Reply Last reply
      0
      • P Paul Conrad

        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

        R Offline
        R Offline
        Reveille
        wrote on last edited by
        #3

        This is a simple test program I made becuase I was having the same issue with a project Im working on. I decided to make this test program to rule out some causes of this connection failure. The only thing this report does is display the two columns from my Access 07 databse.

        P 1 Reply Last reply
        0
        • R Reveille

          This is a simple test program I made becuase I was having the same issue with a project Im working on. I decided to make this test program to rule out some causes of this connection failure. The only thing this report does is display the two columns from my Access 07 databse.

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #4

          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

          R 1 Reply Last reply
          0
          • P Paul Conrad

            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

            R Offline
            R Offline
            Reveille
            wrote on last edited by
            #5

            I appreciate the attempt

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups