I am getting this error message while try to compile my application.
I am using visual studio 2003 and crystal report 9.1.5000.
I have some old application which is running fine but when I developed a new application it is giving me this error message.
Also, I am not running any other application while Compilling this one.
please help, it is urgent..
Expand|Select|Wrap|Line Numbers
- Error in File C:\WINDOWS\TEMP\temp_df002326-8dc3-4dac-8728-630add4218ec.rpt: Access to report file denied. Another program may be using it.
- Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
- Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Error in File C:\WINDOWS\TEMP\temp_df002326-8dc3-4dac-8728-630add4218ec.rpt: Access to report file denied. Another program may be using it.
- Source Error:
- Line 96: CrExpOpt.ExportFormatType = ExportFormatType.PortableDocFormat;
- Line 97:
- Line 98: objrpt.Export();
- Line 99: Response.ClearContent();
- Line 100: Response.ClearHeaders();
- Source File: d:\inetpub\wwwroot\tap\quickcheck1\form1.aspx.cs Line: 98
- Stack Trace:
- [LoadSaveReportException: Error in File C:\WINDOWS\TEMP\temp_df002326-8dc3-4dac-8728-630add4218ec.rpt:
- Access to report file denied. Another program may be using it.]
- .F(String , EngineExceptionErrorID
- ) +272
- .A(Int16 , Int32 ) +537
- CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) +469
- CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() +107
- CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() +67
- QuickCheck1.WebForm1.btnqfind_Click(Object sender, EventArgs e) in d:\inetpub\wwwroot\tap\quickcheck1\form1.aspx.cs:98
- System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
- System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
- System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
- System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
- System.Web.UI.Page.ProcessRequestMain() +1292