Crystal报表无法在32位计算机上加载信息,但在64位计算机上运行 [英] Crystal report fail to load informatin on 32-bit machine but working on 64-bit machine

查看:124
本文介绍了Crystal报表无法在32位计算机上加载信息,但在64位计算机上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

​

I'm getting this error

Failed to load database information error in file temp_xxxx_xx_{xxx}.rpt Failed to load database information

 only on 32-bit client machine and not on 64-bit client machine

development machine:-

win 7 64bit,visual studio 64-bit,crystal report version for visual studio 32-bit

deployment machine:-

win 7 32bit,cr runtime 32-bit





thank you for your time





我有什么试过:





What I have tried:

i have search on web 

tries visual studio target as x86

installed cr runtime-32 bit on client machine

推荐答案

进入项目属性,构建选项卡并更改平台定位到x86而不是AnyCPU。



它在您的机器上运行的原因是因为您使用的是64位Crystal Reports运行时。这不适用于32位计算机。显然,32位机器无法运行64位代码和库。



您还必须在工作站上安装32位Crystal Report Runtime运行你的代码。您无法仅部署可执行文件。
Go into your Project Properties, Build tab and change the Platform Target to x86 instead of AnyCPU.

The reason it works on your machine is because you're using the 64-bit Crystal Reports runtime. That cannot work on 32-bit machines. Obviously, 32-bit machines cannot run 64-bit code and libraries.

You MUST also have the 32-bit Crystal Report Runtime installed on the workstations that are going to run your code. You cannot deploy just your executable.


这篇关于Crystal报表无法在32位计算机上加载信息,但在64位计算机上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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