CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 4.00 average. Display Modes
      #1    
    Old March 30th, 2005, 04:56 PM
    jcr jcr is offline
    Junior Member
     
    Join Date: Mar 2005
    Posts: 1
    jcr is an unknown quantity at this point (<10)
    Exclamation DAO Error code 0xbd7

    Hi
    I have a button in vb calling crsytal reports 9 . These reports are opening in cr viewer. I have an access database secured with a password. I can open the report but when I go to enter new parameters in the cr viewer, I get this error.

    "LOGON FAILED"
    Details: DAO Error Code 0xbd7
    Source: Dao.Workspace
    Description: Not a valid Password

    Im lost on this one and I would be grateful for some help.
    Thanks!!
    Reply With Quote
      #2    
    Old March 25th, 2007, 09:56 AM
    chanev chanev is offline
    Junior Member
     
    Join Date: Mar 2007
    Posts: 1
    chanev is an unknown quantity at this point (<10)
    Re: DAO Error code 0xbd7

    Hello,
    This is in C#, I thing it can help you :

    crystalReportDocument1.DataSourceConnections[0].SetConnection(SERVER, Database, "USERNAME", "YOUR PASSWORD"); crystalReportViewer1.ReportSource = crystalReportDocument1;

    I use Microsoft Access file, so I left the Username blank, and for Server and Database put the new path to my .mdb file.

    I hope it helps.
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 07:01 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009