无法生成 Crystal 报告 - 登录参数不正确 [英] Unable to generate Crystal report- Incorrect Log on parameters

查看:22
本文介绍了无法生成 Crystal 报告 - 登录参数不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试生成我的报告,但此错误不断出现.谁能告诉我可能是什么问题,解决问题的可能解决方案是什么.

I have been trying to generate my report but this error keeps showing up. Can any one please tell me what can be the issue, what can be the possible solutions to rectify the problem.

Logon failed. Details: mscorlib : Could not find a part of the
path 'E:OPCollectionSUMMARYReportXML.xml'. Error in File
C:UsersarifkhanAppDataLocalTempOPCollectionDetailsReport {89FDC9CF-5AE2-45E7-
B382- 28318AD342A2}.rpt: Unable to connect: incorrect log on parameters.

配置:C# (VS2005)、Crystal Report 8、SQL Server Management Studio.

Configuration: C# (VS2005), Crystal Report 8, SQL Server Management Studio.

提前致谢,祝您有美好的一天!

Thanks in Advance and have a good day!

推荐答案

本周我们解决了 4 个类似的问题,我将在这里分享.

We solved 4 issues like that this week, i will share here.

  1. 带有子报表的报表.主报表和子报表使用相同的 XSD 作为数据源.XSD 定义了 5 个表.5 个表被添加到主报表中,但仅 3 个表被添加到子报表中.我们删除了主报告的 2 个额外"表格,它起作用了.

  1. A report with a subreport. The main report and the subreport use the same XSD as the data source. The XSD defines 5 tables. The 5 tables was added to the main report, but only 3 was added to the subreport. We removed the 2 "extra" tables of the main report and it worked.

我们遇到了另一个与第一个问题非常相似的问题,但主报告中的表格较少.我们刚刚在主报表中添加了额外"表格,因此主报表和子报表现在具有相同的表格并且可以正常工作.

We had another issue very similar to the first one, but the main report had fewer tables. We just added the "extra" tables in the main report, so that the main report and the subreport now have the same tables and it worked.

一位同事说他在 Visual Studio 项目中将内容"作为 XSD 文件的构建操作",并且据说它可以工作.但我没有尝试检查.

A coworker said he put "content" as the "build action" of the XSD file in the visual studio project and it supposedly worked. But i did not tried it to check.

一份报告使用了 2 个 XSD 文件.我们将其更改为仅使用 1 个 XSD 文件并且它工作正常.

A report was using 2 XSD files. We changed it to use only 1 XSD files and it worked.

这篇关于无法生成 Crystal 报告 - 登录参数不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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