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

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

问题描述

我一直在试图生成我的报告,但这个错误不断显示出来。任何一个可以告诉我什么可以是问题,有什么可以是可能的解决方案来解决问题。

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:\Users\arifkhan\AppData\Local\Temp\OPCollectionDetailsReport {89FDC9CF-5AE2-45E7-
B382- 28318AD342A2}.rpt: Unable to connect: incorrect log on parameters.

配置:C#(VS2005),水晶报表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.

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

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