在线等:水晶报表发布的问题,
一个小项目,需要用到水晶报表打印,但是在本地VS2010环境上跑着没问题,本地发布后运行也没有问题,但是发布到服务器后,就无法访问报表页面,报一下内容错误:
Server Error in '/' Application.
--------------------------------------------------------------------------------
无效文件名。
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 (0x800001fb): 无效文件名。]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +270
[CrystalReportsException: 加载报表失败。]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +333
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +876
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
zerui.Web.Report.CrystalHelper.CreateReport(String strSql, String cryPath, String tableName, CrystalReportViewer crystalReportViewer) in F:\08prjSVN\814xifeng_sys\program\trunk\zerui.Web\Report\CrystalHelper.cs:32
zerui.Web.Report.UserInfo.Page_Load(Object sender, EventArgs e) in F:\08prjSVN\814xifeng_sys\program\trunk\zerui.Web\Report\UserInfo.aspx.cs:13
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) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207。
我的开发环境是VS2010,下载的水晶报表版本是CRforVS_13_0_7,网上找了好多方案,什么权限,安装东西什么的。都没有解决。
跪求高人支招,如何解决,如果能详细告诉在服务器端需要如何配置更好!
谢谢了。第一次弄报表,前前后后折腾3天了。