I have created a report using Crystal reports 2008. Inside of the SQL I used parameter (Date). When I upload it to the Business Objects and try to view it in the InfoView it prompts database username and password.
I have already set “Use same database logon as when report is run” in the “Database configuration”. More, other reports (SQL doesn’t include any parameter) don’t prompt database username and password
Are you talking about the fact that you’ve already set the database username and password and you make a change, re-save the report and it loses it? If so, then you need to go to (in XI 3.x) the report object and right-click and choose ‘Refresh Options’. In here, untick the option to refresh default database username/password and then click Update.
I had a similar problem. Here is what resolved it for me. Hopefully it will work out for you too-
Go to Database Configuration
Select Use custom database logon information specified here
Select your database driver type
Provide credentials
Use default table prefix
Select Use same database logon as when report is run
Dynamic Parameters use Business Views that need to be Managed using the Thick-Client BUSINESS VIEW MANAGER.
Search this site for BUSINESS VIEW MANAGER and Dynamic Parameters…all the info is there.
The current method of handling Dynamic Parameters in BO Enterprise (even in the new 4.0) is fugly, and I advise clients to avoid them wherever possible.
There is supposed to be a “magical” fix where Business View features are rolled-in to the new COMMON SEMANTIC LAYER in some future 4.x release - but it’s been on the “coming soon” list for at least 5+ years.
in CMC you can set username and password so that it won’t ask again and again when you run the report… instead of using your user details use some generic which will be helpful to entire organization… as default uid/pwd…