SAP Knowledge Base Article - Preview

1281657 - Database Logon Fail When Using RAS to Export to PDF


When we use the Java RAS SDK to retrieve the PDF output of a report deployed in Production, we get a database logon error. The same report works fine from the CMC with the DHTML and Advanced DHTML viewer, but does not work if we use RAS to generate the PDF output of this report.

If we use the first option in CMC (Use original database logon information from the report) to maintain the DB credentials of the report, it works fine. But, if we use the second option in CMC (Use custom database logon information specified here) to maintain the DB credentials of the report, although it does work from the CMC, it does not work using RAS and gives the following message:

Database logon failed. - Unable to read report as PDF for :UBE Database logon failed.---- Error code:-2147217393
Error code name:dbLogonFailed at Source)



SAP BusinessObjects Business Intelligence platform R2


ras export pdf database db logon login fail failure fails output , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.