Unable to generate Crystal report- Incorrect Log on parameters

喜夏-厌秋 提交于 2019-12-23 05:38:04

问题


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.

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

Thanks in Advance and have a good day!


回答1:


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

  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.

  2. 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.

  3. 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.

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



来源:https://stackoverflow.com/questions/22250304/unable-to-generate-crystal-report-incorrect-log-on-parameters

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!