无法加载数据库信息 [英] failed to load database information

查看:128
本文介绍了无法加载数据库信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个从.Net 1.0迁移到.Net 4.0的桌面应用程序。应用程序使用Crystal Reports和ttx文件作为数据定义文件。实际的数据库查询发生在业务对象中,并且使用SetDataSource()方法设置数据。

I have a desktop application that was migrated from .Net 1.0 to .Net 4.0. The application is using Crystal Reports and ttx files as the data definition files. The actual database queries happens in business objects and the data are set using SetDataSource() method.

在将此升级到.Net 4.0 ,版本13),报告仍然在我的开发人员工作站上工作良好。但是当我在测试机器上安装应用程序时,我开始收到这样的错误:

After I upgraded this to .Net 4.0 (and Crystal Reports for Visual Studio 2010, version 13), the reports still working great on my developer workstation. But when I installed the application on the test machines I started getting errors like this:

Error in File temp_****{****}.rpt: Failed to load database information.

其中星号表示某种GUID。

Where the asterics signify some kind of GUIDs.

奇怪的是,我没有触摸的报告继续工作。只有我不得不更新数据源(TTX文件)的报告生成此错误。

The odd thing is that the reports that I did not touch continue to work. Only the reports where I had to update the data source (TTX file) generate this error.

我也遇到这个错误:

The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.

但我不知道这是否相关。

but I do not know if this is related.

推荐答案

Keycoder错误不是问题。这是一个警告消息,似乎对任何东西没有影响(最好的我可以告诉)。

The Keycoder error is not the problem. That is currently a warning message that seems to have no effect on anything (as best I can tell).

不要被GUID的东西困惑。它只是Crystal提供报表对象的临时名称。

Don't be confused by the GUID stuff either. It's just a temp name that Crystal gives the report object.

真正的错误是加载数据库信息失败。你的TTX更新中的东西是错误的。

The real error there is simply "failed to load database information". Something in your TTX update is at fault.

您可以尝试在遇到问题的机器上在Crystal 2008中运行报告。您的报告与TTX档案不同步。

You might try running the report in Crystal 2008 on the machine giving you the problem. Your report is out-of-sync with the TTX file.

这篇关于无法加载数据库信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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