CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    42

    load report failed

    Hi

    everything was working fine but suddenly started getting this error
    i have the folowing code
    ReportName = Application.StartupPath & "\" & ReportName & ""
    Dim ReportForm As CrystalDecisions.CrystalReports.Engine.ReportDocument = New CrystalDecisions.CrystalReports.Engine.ReportDocument
    ReportForm.Load(ReportName) - i get error at this line

    the path & otehr things are right

    til yest it was workig fine & now i started gettin this error ,
    the only chnage i made in the report was i added a field

  2. #2
    Join Date
    Jul 2000
    Location
    Milano, Italy
    Posts
    7,726

    Re: load report failed

    one thing of crystal is that it uses to changes curDir whiel you look for a printer or to export a report. Could this be related? Other than this, it sounds like you have something wrong inside the report. Could you edit it and try to rebind again to your data?
    ...at present time, using mainly Net 4.0, Vs 2010



    Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
    all the other wonderful people who made and make Codeguru a great place.
    Come back soon, you Gurus.

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

Featured