Load Report Failed error in crystal reports with vb.net?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhappy
    New Member
    • Jul 2007
    • 139

    Load Report Failed error in crystal reports with vb.net?

    Hai All,

    Im genarating a report using crystal reports, i have one crystal report page name "cr_salary. rpt" when im accessing this page i got an error load report failed..

    vb.net code:
    Dim rptDocument As New CrystalDecision s.CrystalReport s.Engine.Report Document
    Dim strReportPath As String = "CR_Salary. rpt"
    rptDocument.Loa d(strReportPath , CrystalDecision s.Shared.OpenRe portMethod.Open ReportByTempCop y)
    ds_sal.ReadXml( Server.MapPath( "../Export_to_xml/dgxml.xml"))
    rptDocument.Set DataSource(ds_s al)
    cr_salsht.Repor tSource = rptDocument
Working...