Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 20599 opening Crystal Report in SQL Server from VB App

Status
Not open for further replies.

benochka

Programmer
Aug 21, 2002
3
GB
I have a simple report created in CR (8.5) that connects to an SQL Server 2000 DB through OLEDB and provides me with all the info. Works fine. However, I try to bring up this report from a VB6 app using the Crystl32.ocx component and I get the Error:
Run-time Error '20599'; Cannot open SQL Server

I've ensured that the LogonInfo(0) string is set so that UID=<<Use Integrated Security>> but it's still not letting me in. Any ideas on this would be gratefully appreciated as I'm totally new to CR.
Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top