求助:vs2005自带水晶报表发布 打包后在win2003 上安装出现如下错误。该怎么解决呢?求高手指导!!!
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: 系统找不到指定的文件。
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x80004005): 系统找不到指定的文件。
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +340
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +869
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +97
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type) +42
CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataTable dataTable) +55
OSNWebManager.OSNGUI.ReportView.OSNReport.Page_Load(Object sender, EventArgs e) in E:\5.0EIM\Applications\OSNWebManager\OSNGUI\ReportView\OSNReport.aspx.cs:53
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
------解决方案--------------------
缺少注册信息,如果发布到2003上要对服务器时行 水晶报表注册
有中英文版 ,有32和64版,请楼主根据版本注册安装
请点击查看案例
还有一点很重要就是要把所有的引用都添加好,并且一并发布了
------解决方案--------------------部署后服务器上需安装水晶报表组件,http://space.itpub.net/82080/viewspace-448785
------解决方案--------------------给C盘一个Everyone的可写权限试试。