Results 1 to 3 of 3

Thread: [2005]Database logon problem with cyrstal report

  1. #1

    Thread Starter
    Hyperactive Member yousufkhan's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    492

    [2005]Database logon problem with cyrstal report

    i am getting exception error from following codes and not able to run cyrstal report i am using cyrstal report 8.5 with vs2005

    Dim CaseRpt As New Crystal.CrystalReport
    CaseRpt.Reset()
    CaseRpt.LogOnServer("p2ssql.dll", "YOUSUF", "HospData", "sa", "hosp73")
    CaseRpt.ReportFileName = "D:\HIS\FrontOffice\PtnMstSample.rpt"
    CaseRpt.SelectionFormula = "{PtnMst.PtnNo}=" & IntPtnNo
    CaseRpt.Destination = DestinationConstants.crptToWindow
    CaseRpt.WindowState = WindowStateConstants.crptMaximized
    CaseRpt.Action = 0

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [2005]Database logon problem with cyrstal report

    What is the specific exception error that you are getting?

  3. #3

    Thread Starter
    Hyperactive Member yousufkhan's Avatar
    Join Date
    Jan 2002
    Location
    India
    Posts
    492

    Re: [2005]Database logon problem with cyrstal report

    COMException was Unhandled

    Exception from HRESULT

Posting Permissions

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



Click Here to Expand Forum to Full Width