如何避免数据库登录失败错误 [英] How to Avoid Database logon failed error

查看:60
本文介绍了如何避免数据库登录失败错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





单击打印按钮时,我正在尝试生成PDF。当它尝试导出到磁盘时,它会给出数据库LOAG失败错误。这是我的导出到磁盘的代码。



Hi,

I am trying to generate the PDF when the Print button is clicked. When it tries to Export to Disk it gives the Database LOgon Failed Error. Here is my code for Export to disk.

CrystalReportSource1.ReportDocument.ExportToDisk(ExportFormatType.PortableDocFormat, filePath);





请你帮我解决这个问题我得错误超过一个月。



先谢谢



Can u please help me to solve this issue I am getting the Error More than a Month.

Thanks in Advance

推荐答案

您必须动态地将登录详细信息应用于报告运行时间。

C#Crystal Reports动态登录参数 [ ^ ]
You have to apply logon details to reports run time dynamically.
C# Crystal Reports Dynamic Logon parameters[^]


这篇关于如何避免数据库登录失败错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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