Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".我用的是vs2005下 的水晶表表 在本机上运行没问题 但是在服务器上发表就报错。 错误如上
请高人帮忙 怎么解决啊??? 我是首次用水晶报表
问题解决马上给分!!!! 万分感谢!!
请高人帮忙 怎么解决啊??? 我是首次用水晶报表
问题解决马上给分!!!! 万分感谢!!
解决方案 »
- 如何在DataSet转换成xml的时候,在节点上添加属性呢?
- 数据绑定,TwoWay模式下却不同步
- FORM窗体显示问题
- 利用webbrowser下载文件,如何屏蔽“下载对话框”
- 怎样在当前实例窗体间传值???在线等待
- 安装有VS2008的Vista环境中,如何配置ASP.NET(C#)运行环境?
- c# 实现例如viso一样的功能:左边拖着一个图形或者控件放到界面的中的任意位置,在该位置显示
- 关于C# 调用java的webservice问题
- 菜鸟问题
- c#中如何调用oracle的存储过程??
- (50分求解)水晶报表打印纸张大小控制和打印报错问题??????急!!!
- 如何实现向指定的具有输入焦点的控件发送键盘消息??
<!-- Web.Config Configuration File --><configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
还有就是报这个错误!!!
[LoadSaveReportException: Invalid report file path.]
CrystalDecisions.CrystalReports.Engine.EngineExceptionUtils.DoThrowException(String message, EngineExceptionErrorID id) +37
CrystalDecisions.CrystalReports.Engine.ExceptionThrower.ThrowEngineException(String messageID, EngineExceptionErrorID id) +190
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +144
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +97
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ReportDefinition() +45
K_PayPlanRpt.Page_Load(Object sender, EventArgs e) +263
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
改过之后 出现新问题!!!!
还有一种,你在服务器装好水晶报表查看器,并在IIS的应用程序映射中加入该程序的映射地址。这样客户不安装也能使用报表。
Invalid report file path.
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: Invalid report file path.我是用如下方法取的路径:
string reportPath = Server.MapPath("Crystal.rpt");
customerReport.Load(reportPath);这样在服务器上能取到正确的路径吗?? 还有 zhnzzy 说的打包的时候还需要把水晶报表的东东也打进去,是指什么东西??
请大家再帮帮忙 解决问题马上结贴!!