部署Web应用程序(ASP.NET)后,IIS无法读取报告路径 [英] after deployed web application (ASP.NET) IIS not reading report path

查看:53
本文介绍了部署Web应用程序(ASP.NET)后,IIS无法读取报告路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





今天完成报告后,它在部署之前运作良好。



但是在部署之后,IIS没有读取我的报告路径。



任何人都可以给我推荐。



我的报告路径:



 String ReportPath =; 
ReportPath = System.AppDomain.CurrentDomain.BaseDirectory.ToString()。Trim()+Reports \\Orders.rpt;
cryRpt.Load(ReportPath);





问候,

解决方案

使用 使用Server.Mappath [ ^ ]适用于网络项目。并检查下面技巧/诀窍

Crystal Reports:修复加载报告失败错误。 [ ^ ]


请安装ReportViewer.exe ............. ............

Hi,

Today after completing reports, its working well n good before deployment.

But after deployment, the IIS is not reading my report path.

Can anyone plzzz suggest me.

MY REPORT PATH:

String ReportPath = "";
ReportPath = System.AppDomain.CurrentDomain.BaseDirectory.ToString().Trim() + "Reports\\Orders.rpt";
cryRpt.Load(ReportPath);



Regards,

解决方案

Use Server.MapPath[^] which is suitable for web projects. And check the below Tip/Trick
Crystal Reports: Fix for "Load report failed" error.[^]


please Install ReportViewer.exe .........................


这篇关于部署Web应用程序(ASP.NET)后,IIS无法读取报告路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆