[英]Visual Studio 2017 Crystal Reports Error Load Report Failed
I will admit first and foremost that his is probably a lack of knowledge issue. 我首先要承认,他可能是缺乏知识的问题。 As I'm not finding documentation on "how to" deploy a crystal report webpage from visual studio 2017 to a Windows 2012 R2 server.
由于我找不到有关“如何”将Visual Studio 2017中的Crystal Report网页部署到Windows 2012 R2服务器的文档。 I assumed it would be the same as any other webpage, but apparently I'm missing something.
我以为它和任何其他网页都一样,但是显然我遗漏了一些东西。
So this is just a proof of concept so it is BASIC. 因此,这只是概念证明,因此是BASIC。 I mean zero programming just using the tools given by the IDE and crystal reports SDK.
我的意思是仅使用IDE和Crystal Reports SDK提供的工具进行零编程。
I created a basic no frills website, added a crystal reports viewer, set up the Crystal Report Source to point at the report in a reports folder and when that didn't work to a place on the HDD ( Here I think is the problem ). 我创建了一个基本的简洁网站,添加了Crystal报表查看器,将Crystal Report Source设置为指向报表文件夹中的报表,以及何时无法将其指向HDD上的某个位置(在这里我认为是问题所在) 。 This set up works locally with no issues.
此设置可在本地正常运行。 However from the server it throws the Error: Load Report Failed..
但是,它会从服务器抛出错误:加载报告失败。
Now I realized at one point that the report itself was not publishing, so I set "Copy to Output Directory" to "Copy Always".. this does not work. 现在我意识到,报表本身并未发布,因此我将“复制到输出目录”设置为“始终复制”。这不起作用。 So I right click the report in the Solution Explorer and published it.. it's there now, yet the error still comes up.
因此,我在解决方案资源管理器中右键单击该报表并发布了它。 I would guess because it points directly to the local copy on my system.
我猜是因为它直接指向我系统上的本地副本。
I thought this has to be a rights issue, so for testing I gave Everyone full control of that reports folder with List folder content all the way down to it. 我认为这一定是一个权限问题,因此为了进行测试,我让所有人都完全控制了该报告文件夹,并一直列出列表文件夹内容。 Still no joy..
还是没有喜悦..
To defelect the obvious question, yes I have already checked 32 bit and 64 bit on the application pool and I have installed the Runtime on the server, i have tried both 32 bit and 64 bit there as well. 要解决这个明显的问题,是的,我已经在应用程序池中检查了32位和64位,并且在服务器上安装了Runtime,我也在那里尝试了32位和64位。
So educated assistance would be very helpful here. 因此,在这里受过良好教育的帮助将非常有帮助。 Thank you.
谢谢。
you can sort out the load report failed error using below URL 您可以使用以下网址来整理加载报告失败错误
http://remiware.co/2015/07/08/solving-the-load-report-failed-error/ http://remiware.co/2015/07/08/solving-the-load-report-failed-error/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.