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. General Programming
  3. Visual Basic
  4. Crystal Report "Logon Failed. Please Try Again."

Crystal Report "Logon Failed. Please Try Again."

Scheduled Pinned Locked Moved Visual Basic
databasecsharpvisual-studiohelp
3 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 and every time I get "Logon Failed. Please Try Again." Again there is no password on this DB. All of my code (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

    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 and every time I get "Logon Failed. Please Try Again." Again there is no password on this DB. All of my code (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

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

      Are you supplying it with the right log in credentials? Or have you not been required to do so?


      "I've seen more information on a frickin' sticky note!" - Dave Kreskowiak

      R 1 Reply Last reply
      0
      • P Paul Conrad

        Are you supplying it with the right log in credentials? Or have you not been required to do so?


        "I've seen more information on a frickin' sticky note!" - Dave Kreskowiak

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

        I thought that was handled by the ODBC RDO. As I said it can connect to the DB when Im in the Crystal Report Design window but when I run the program it prompts for a Logon ID and Pass but there is no need for this info to make a connection. I read that setting "Persist Security Info" on the connection is supose to fix this but I'm unsure how to apply this setting.

        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