CrystalReports要求数据库登录凭证 [英] CrystalReports asking for Database login credentails

查看:78
本文介绍了CrystalReports要求数据库登录凭证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目中有一个Windows窗体和一个Crystal Report(.rpt)。我正在使用Crystal Report Viewer来查看报告。但是,当我加载表单时,它会要求数据库登录,即用户名和密码!我的数据库没有任何用户名和密码,它具有集成的安全性。我尝试检查集成安全性框,将字段保留为空,但未登录我!请帮忙,因此我无法查看报告。

Hi I have a windows form and a Crystal Report (.rpt) in my project. I am using crystal report viewer to view the report. But when I load the form it asks for the Database logon, i.e, username and password! My DB does not have any username and password, it has integrated security. I have tried checking the integrated security box, leaving the fields empty, but it is not logging me in! Please help, I cannot view the report because of this.

推荐答案

使用< startup useLegacyV2RuntimeActivationPolicy = app.config文件中为True>

这篇关于CrystalReports要求数据库登录凭证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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