|
-
Nov 25th, 2008, 12:52 AM
#1
Thread Starter
Hyperactive Member
[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
-
Nov 26th, 2008, 02:39 PM
#2
Re: [2005]Database logon problem with cyrstal report
What is the specific exception error that you are getting?
-
Nov 26th, 2008, 11:41 PM
#3
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|