加载数据库信息失败 [英] failed to load database information

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

问题描述

我有一个从 .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(和 Crystal Reports for Visual Studio 2010,版本 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天全站免登陆