Hi,
i am creating Report module in asp.net using visual studio .net crystal report. i am doing this in my machine.
when i am exporting reports to excel in local machine, it is exporting.
but i copied that folder in server and export the report, it is giving the followiing error.
Error in File C:\WINNT\TEMP\temp_e8359359-c3c4-4524-a4ff-a095905702b2.rpt:
Access to report file denied. Another program may be using it.
--------------------------------------------------------------------------------
at .K(String , EngineExceptionErrorID ) at .F(Int16 , Int32 )
at CrystalDecisions.CrystalReports.Engine.FormatEngin e.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngin e.Export() at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Export()
at SalesMIS.Search.ExportReport() in c:\inetpub\wwwroot\SalesMIS\Search.aspx.
vb:line 2143
the code is CrystalReport1.Export()
in this code it is giving error.
Please help to solve this problem.
Advance thanks to everybody who is going to solve this problem.
kathiravan
kathirsun@yahoo.com