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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports Windows Server 2008 p2sodbc.dll

Status
Not open for further replies.

rtk513

Programmer
Apr 2, 2015
1
US
I have a legacy VB6 application that I'm trying to migrate to Windows Server 2008 from Windows Server 2003. This application uses a Crystal Report to send information from a database to a printer on the server. The report is stored on the server. I'm getting a generic Crystal Report error "[20536] [Unable to logon to server]"

Here is the original code:
Code:
Call CrystalReport1.LogOnServer("pdsodbc.dll", "PickMgr", g_sDBName, g_sDBUserID, g_sDBPassword)

After some research I have determined that pdsodbc.dll has been succeeded by p2sodbc.dll, so I updated the code

Code:
Call CrystalReport1.LogOnServer("p2sodbc.dll", "PickMgr", g_sDBName, g_sDBUserID, g_sDBPassword)

But I'm having the same issue. I know my credentials and permissions are fine and I'm fresh out of ideas. Does anyone have experience with this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top