水晶报表需要密码 [英] Crystall report needs password

查看:94
本文介绍了水晶报表需要密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须从数据库中检索一些数据,并将其显示在Windows应用程序的报表查看器中.
我使用VS2010和VS2010的SAP Crystal报表.我的数据库是随VS2010一起安装的SQL Server 2008 R2.
我创建了数据库,但未在任何地方为数据库设置任何密码.在连接字符串中,我使用:

I have to retrieve some data from database and show them in report viewer in windows application.
I use VS2010 and SAP Crystal report for VS2010.My database is SQL Server 2008 R2 which installed with VS2010.
I create my database and did not set any password for my database anywhere. In my connection strings I use:

bla;bla;bla;Integrated security = true;


我将一个数据集添加到名为LibraryDatase.xsd的程序中.报告使用此xsd文件获取数据,但在运行时需要密码吗?但是我在哪里都没有设置密码!
在运行时,密码对话框具有用于集成安全性的复选框,但该复选框也不起作用吗?
我不知道该输入什么密码?
有任何帮助请


I Add a dataset to my program called LibraryDatase.xsd. The report use this xsd file to get data but in runtime it need password? but I did not set any password anyWhere!!
In runtime the password dialog has a checkbox for integrated security and that not work too?
I have no idea what password should I enter?
Any help please

推荐答案

您在问题中没有特别说明,但我认为您遇到的问题是,不断提示您输入登录名显示报告时的信息.如果是这种情况,请在调用报告之前尝试在代码中动态设置所有登录信息.
这是关于此的文章:
csharp crystal报告动态登录 [
You don''t specifically say this in your question, but I assume that the problem you are having is that you keep getting prompted to enter logon info when displaying your report. If that is the case, try setting all of the logon info dynamically in code before calling the report.
Here is an article on that:
csharp crystal reports dynamic login[^]
(I assume that you''d just set the password to an empty string since you didn''t set it.)

If that is not your issue, please include whatever error message you are getting or describe what exactly is happening. Does it give you an error message? What code do you have right now to display your report?


这篇关于水晶报表需要密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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