cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Database Login

Former Member
0 Kudos

Hi,

i am using enterprise business object XI and visual studio 2008 and crystal report(version 12.2.2000.0).

Fllowing step to create a sample report.

Step:1 Desgin the report(.*rpt).

Step:2 Load the report in CMS though by publish wizard.

Step 3 i am able to get resouce object but when i am trying tos set with crystal report view than i am getting the database login screen.

i need the help.

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

The database logon information, aka password is not stored in the rpt file itself. You will need to set the password through the CMC for the report otherwise you will get prompted for database logon.

If you don't provide it in the CMC, you can provide it in code. Steps for doing so depend on how you are viewing the report.

Answers (1)

Answers (1)

Former Member
0 Kudos

You could use windows authentication. Or depending on your connection string you could store the user name and password in the conneciton string.