Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Report that works in CMS doesn't work in VB.

I'm trying to get the VB viewer code from wssdk_net_samples_12 working on a report (with 1 parameter) I created against a postgres database but I keep getting the following error:

Message: "Failed to retrieve database logon info. Information is needed before this report can be processed. (WRE 02517)"

on this line:

Dim boDocInfo As DocumentInformation = boRepEng.GetDocumentInformation(repID, boMustFill, oActions, Nothing, Nothing)

The logon apprears to work properly. I've tested it against the standard 'World Sales Report' report.

My report works fine in Crystal Server 2008 with the parameter so I'm wondering what I'm missing.

The code to log into the DB is actually done after this code.

I'm actually at the end of what little wit I have.

Any help would be greatly appreciated.

Thanks in advance,


Edited by: Jason Cameron on Sep 5, 2008 5:19 PM

Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question