dcsimg
Results 1 to 6 of 6

Thread: [RESOLVED] Crystal report viewer: Logon failed (VB 6.0)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    107

    Resolved [RESOLVED] Crystal report viewer: Logon failed (VB 6.0)

    Dear all,

    There is an error message "Logon Failed" on one of the user's pc while he was trying to preview for certain reports, he could view the rest of the reports without any error message prompted. Besides, there is no problem for developer's pc and other users pc to view the reports. The system is written by using VB 6.0 and intergrated with CR IX. Does anyone could help?? Thanks.

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: Crystal report viewer: Logon failed (VB 6.0)

    Is it a runtime error? Sorry i am not familiar with Crystal Report viewer.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    107

    Re: Crystal report viewer: Logon failed (VB 6.0)

    it is not a runtime error. there is no error while debugging and compilling. The error was only prompted out to end user's. Only 1 of the report has error among the 40 reports in the system. That is weird.

  4. #4
    Super Moderator Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,335

    Re: Crystal report viewer: Logon failed (VB 6.0)

    Moved to reporting
    Please use [Code]your code goes in here[/Code] tags when posting code.
    When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum section.

    Creating A Wizard In VB.NET
    Paging A Recordset
    What is wrong with using On Error Resume Next
    Good Article: Language Enhancements In Visual Basic 2010
    Upgrading VB6 Code To VB.NET
    Microsoft MVP 2005/2006/2007/2008/2009/2010/2011/2012/Defrocked

  5. #5
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Smile Re: Crystal report viewer: Logon failed (VB 6.0)

    For remote database server we have to add this line before setting the Crystal report viewer report source

    Code:
    rpt1.SetDatabaseLogon ("username", "password");
    Also check for any version incompatibility.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    107

    Re: Crystal report viewer: Logon failed (VB 6.0)

    I dont set any password or security level on my reporting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width