cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal report errors when executed from VB .net

Former Member
0 Kudos

I have a program written in VB.net 2005 that executes multiple reports that are created in Crystal Reports 2008 (ver 12.0.0.683). It was working fine until I modified a report. When I execute the modified as a print preview from Crystal Reports Designer it works perfectly. If I add the report to the VB program it crashes with the following message:

Logon Failed.

Details: [Database Vendor Code: 18456]

Database Connector Error: '[Database Vendor Code: 18456]'

Logon failed

Not enough memory for operation.

If I add an old version of the report to the VB program it works. If I open the old report in Crystal Designer make a change and save it then add it to the VB program it will also crash with the above message. I tried the troubleshooting steps in http://scn.sap.com/docs/DOC-21985. but was not able to isolate the problem. I've been working on this issue for over a week and I'm stumped. Can anyone offer a solution?

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Hi David

A rather strange behavior, however here are some ideas:

1) The error is being passed from the db client. Thus consult your db documentation for the error. You can also try to google the error and you will get a number of hits. E.g.;

Running Crystal Reports with a SQL Server Login instead of a Network Login

2) Make sure you have updated your install of CR. Use the following link:

http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Answers (0)