cancel
Showing results for 
Search instead for 
Did you mean: 

CR 2008 SQL Connection Fails

Former Member
0 Kudos


Using Crystal Reports 2008, connecting to SQL 2008 R2.  Trying to produce the report at runtime and export to .pdf format.  The export has worked flawlessly using a dsn conneciton from the web front end to the database.  I'm tyring to change it to a dsn less connection and no matter what I try the "database login failed" message comes up.  Here is my code (in the attached text file).  Any thoughts?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Robert,

Try hardcoding all of the values first to make sure it does work, then use variables to build the connection string.

Don