Skip to Content
0

printing crystal report causes invalid database login error

Oct 18, 2016 at 01:22 PM

61

avatar image

pleases don't delete this question.


I entered this ticket previously only to find it was deleted. Someone had sent a message asking me to post how I searched for a resolution before posting in accordance with the rules. I see a rule that says search before you post nothing saying how we should post proof that we did so. I can add a bunch of links to posts about how the error returned is from the database but if you look you will see in the details of the question they don't apply to my situation.


using BI platform 4.1 sp2

i upload a crystal report

set the database config to

uncheck allow users to edit

set to use same database logon as when report is run

use custom database logon

ODBC

input info

i can run the report in bi launchpad

i can schedule it to send as pdf in an email

when i set it to print to a specified printer and e-mail pdf i get
Database Vendor Code:18456

I can schedule the job to print and it will fail... I can right click the reoccurring--> reschedule --> run now --> remove printing and it will run as expected

something in the combination of this report and trying to print causes the report to use an invalid login

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Kuldeep Ghosh Oct 18, 2016 at 03:00 PM
0

Is the printer and the SIA running on the same domain? If not, can you change the SIA to run on the same domain as your printer is running?

Show 4 Share
10 |10000 characters needed characters left characters exceeded

yep... two other reports running as expected. So far it's just this one report that has issues.

0

Can you try one thing, just open the report in Crystal Report Desinger and go to page setup -> check "No Printer" and save it back to enterprise.

See if that helps.

0

same issue

0

Did you find any solution for your issue?

0
Don Williams
Oct 18, 2016 at 03:04 PM
0

Hi B,

Sorry about that, deleting your original post. You are correct, the Rules of Engagement only indicates to search, it does not say to post what you found. Seems our Moderator Training material is not the same as what is published externally.

We are working on this....

Is the printer installed locally, on the BOE Server? It is a requirement, and do not use the Windows XPS driver, it has issues and can cause problems.

Some PDF printer drivers also have problems, be sure to make it available for all processes, see this MS KBA on how to expose printers to all Accounts:

http://support.microsoft.com/default.aspx?scid=kb;en-us;184291

BOE/CR is simply passing the error message from the DB to you, what does that error code mean for your DB?

Don

Show 1 Share
10 |10000 characters needed characters left characters exceeded

thanks for your reply.

it is a local printer and it is working for two other reports. So I think access should be ok.

0
Brian Dong Oct 18, 2016 at 06:38 PM
0

Hi,

If two other reports are working, then I'm wondering if this one report has a subreport in it. Could the subreport be using different logon credentials than the main report?

Brian

Show 1 Share
10 |10000 characters needed characters left characters exceeded

there is a sub report but all of the datasources are the same in crystal 2011 and there is only one datasource available in the BI platform.

0
Don Williams
Oct 31, 2016 at 08:59 PM
0

There should be other numbers related to that error code.

From my Google searching it appears it could be permissions for the BOE user.

Make sure the same DB client is installed also.

Don

Share
10 |10000 characters needed characters left characters exceeded