Я использую asp.net 3.5 с инструментарием c # ajax и linq Crystal Report отлично работает на локальном компьютере и Visual Stedio 2008 на сервере, но когда я использовал iis 7, я получил следующие исключения
Server Error in '/' Application.
Error in File C:\Windows\TEMP\basicSaleReport {DDE751B0-9A36-4A9C-83C5-D5BAC6274B16}.rpt:
Failed to create the Crystal Query Engine.
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: System.Runtime.InteropServices.COMException: Error in File C:\Windows\TEMP\basicSaleReport {DDE751B0-9A36-4A9C-83C5-D5BAC6274B16}.rpt:
Failed to create the Crystal Query Engine.
Source Error:
Line 40: //Response.Write(Server.MapPath("basicSaleReport.rpt"));
Line 41: //Response.End();
Line 42: report.Load(Server.MapPath("basicSaleReport.rpt"), OpenReportMethod.OpenReportByTempCopy); Line 43: report.SetDataSource(ds);
Line 44: NoiseMatch.DAL.NoisematchDataContext DC=new NoiseMatch.DAL.NoisematchDataContext();
Source File: C:\inetpub\vhosts\Reservations.noisematch.com\httpdocs\Admin\SaleReport.aspx.cs Line: 42
Stack Trace:
[COMException (0x800002d8): Error in File C:\Windows\TEMP\basicSaleReport {DDE751B0-9A36-4A9C-83C5-D5BAC6274B16}.rpt:
Failed to create the Crystal Query Engine.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +271
[CrystalReportsException: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +333
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +893
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod) +85
NoiseMatch.Admin.SaleReport.Page_Load(Object sender, EventArgs e) in C:\inetpub\vhosts\Reservations.noisematch.com\httpdocs\Admin\SaleReport.aspx.cs:42
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Version Information: Microsoft .NET Framework Version:2.0.50727.4211; ASP.NET Version:2.0.50727.4209
Пожалуйста, помогите мне заранее