Crystal Reports Erro

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sporke13
    New Member
    • Jul 2006
    • 1

    #1

    Crystal Reports Erro

    I keep getting this error trying to export to PDF's a report with 8900 records. I was wondering if it could be a database issue. I timeout. this is the largest run that i can remeber doing.

    here is the error

    Portal Error - Error in File C:\DOCUME~1\LVK PRM~1\ASPNET\LO CALS~1\Temp\tem p_72973a2d-4a4e-457d-97e8-861e979944ad.rp t: File I/O error.

    Error Information
    Name Value
    Message Error in File C:\DOCUME~1\LVK PRM~1\ASPNET\LO CALS~1\Temp\tem p_72973a2d-4a4e-457d-97e8-861e979944ad.rp t: File I/O error.
    Source CrystalDecision s.CrystalReport s.Engine
    TargetSite Void D(Int16, Int32)
    StackTrace at .D(Int16 , Int32 )
    at CrystalDecision s.CrystalReport s.Engine.Format Engine.Export(E xportRequestCon text reqContext)
    at CrystalDecision s.CrystalReport s.Engine.Format Engine.Export()
    at CrystalDecision s.CrystalReport s.Engine.Report Document.Export ()
    at gs1usreport.Vie wReport.ExportT oFile(ReportDoc ument MyReport, String FileName, Boolean bDeleteFile, Boolean boolDisplayOnCl ient) in c:\gs1usreport\ viewreport.aspx .cs:line 484
    at gs1usreport.Vie wReport.Page_Lo ad(Object sender, EventArgs e) in c:\gs1usreport\ viewreport.aspx .cs:line 354

    Please help this need to work today :) :)

    thanks
    tara
  • Petrosoft
    New Member
    • Jul 2006
    • 5

    #2
    It seems to be a directory permission issue to me.

    Line
    ExportToFile(Re portDocument MyReport, String FileName)[

    Possible cause
    The ASPNET account (Windows XP , 2K) or NETWORK SERVICE account (Windows 2003 server) do not have write permission to the directory that the pdf file is to be generated.

    To be more precise i need the piece of code in which you call the ViewReport.Expo rtToFile(...... method

    Hope it helps , Nick

    Comment

    Working...