收到“无法创建水晶查询引擎。” 错误部署的服务器上

我使用asp.net 3.5的C#Ajax工具包和LINQ的水晶报表工作的本地计算机和服务器的视觉stedio 2008年罚款,但是当我在IIS 7 deplyed我有以下例外

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

PLZ帮我在此先感谢

--------------解决方案-------------

我怀疑的问题是,你没有部署和安装Crystal Reports合并模块与应用程序。

查看MSDN了解更多信息。

分类:C# 时间:2015-03-15 人气:0
本文关键词: asp.net,水晶报表
分享到:

相关文章

Copyright (C) 55228885.com, All Rights Reserved.

55228885 版权所有 京ICP备15002868号

processed in 0.380 (s). 10 q(s)