当我从Exe调用它时,Crystal Report总是询问用户名和密码我想避免它 [英] Crystal Report Is Always Ask A User Name And Password When I Call It From Exe I Want To Avoid It

查看:77
本文介绍了当我从Exe调用它时,Crystal Report总是询问用户名和密码我想避免它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请给我任何一个帮助它的紧急我的客户端麻烦bcoz总是问unm并在报告生成过程中传递

Please Any One Help For Me its Urgent My Client is trouble bcoz of always ask unm and pass during report generating

推荐答案

问题在于您分配的数据源水晶报告设计期间的水晶报告。

要解决这个问题,你可以试试这个 -



1.添加一个数据源。在此过程中,它会要求您在项目中保存连接字符串,单击是。这样,用户名和密码将保存在app.config文件以及应用程序设置中。

2.使用此数据源设计晶体报告。在水晶报告向导中,它将要求输入数据源。您的数据源保存在项目数据源中,选择它。



如果此解决方案不适合您,请告诉我一个替代选项也可用。
The problem is in your datasource assigned with the crystal report during crystal report designing.
To overcome this issue you can try this -

1. Add a datasource. During this process it ask you to save the connection string in your project, Click yes. By this the username and password will save on app.config file as well as in your application setting.
2. Use this datasource to design your crystal report. In crystal report wizard it will ask for for datasource. Your datasource is saved on project datasource, choose it.

If this solution not works for you please let me know an alternate option is also available.


这篇关于当我从Exe调用它时,Crystal Report总是询问用户名和密码我想避免它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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