Crystal Reports - How to set database credentials

北城以北 提交于 2019-12-18 09:27:13

问题


I've created some crystal reports. When I run these reports on my system it is working perfectly but when I build the project and installed (exe) on another machine it is asking for database credentials and is not working. Could you please somebody help on this issue?


回答1:


Need to set the credentials to access the database

reportDocument.SetDatabaseLogon("user", "password", "server", "database");


来源:https://stackoverflow.com/questions/12486925/crystal-reports-how-to-set-database-credentials

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!