问题
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