如何在crystal report中禁用数据库登录 [英] How to disable database login in crystal report

查看:59
本文介绍了如何在crystal report中禁用数据库登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已在客户端的计算机上部署了我的vb应用程序。但是当他执行水晶报告部分时,它会请求数据库登录。我还记得我没有为数据库使用任何用户标识或密码。



我使用ms访问作为数据库(OLEDB)。



请帮帮我。



我的尝试: < br $> b $ b

我已经尽力而为,并且已经在网上搜索过去1周了。



但是我没有得到任何解决这个问题的方法



所以请帮帮我

I've deployed my vb application on a client's machine. But when he executes the crystal report section it requests for database login. I also remember I didn't use any userid or password for the database.

I used ms access as the database (OLEDB).

Please help me out.

What I have tried:

I've tried all what I could and have been searching online for the past 1week now.

But I don't get any solution to this problem

So please help me out

推荐答案

您需要问自己并回答的问题



- 您是否将MS Access数据库部署到客户端机器或只是为了你的测试?

- 生产数据是否在另一个数据库中 - 例如MYSQL,MS SQL Server等



I将搜索您的Crystal报表设置和/或app.config(例如)并查找说明如何连接到MS Access的连接字符串 - 然后根据您对'问题'的回答,



a)将MS Access数据库部署到客户机器上或者

b)更改连接字符串以连接到正确的/生产数据库 - 您可能希望创建一个'Crystal '具有只读权限的帐户,并在连接字符串中包含这些帐户详细信息
Questions you need to ask yourself and answer

- Are you deploying the MS Access database to the client's machine or was that only for your testing ?
- Is the production data in another database - eg MYSQL, MS SQL Server etc

I would search your Crystal report setup and/or app.config (for example) and look for the Connection String that says how to connect to MS Access - then based on your answers to the 'questions', either

a) Deploy the MS Access database to the Client's machine OR
b) Change the Connection String to connect to the correct/production database - you may wish to create a 'Crystal' Account with read-only permissions and have those account details in the Connection String


这篇关于如何在crystal report中禁用数据库登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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