Previous Thread
Next Thread
Print Thread
Page 1 of 3 1 2 3
#53980 06/14/17 03:59 PM
Joined: Oct 2010
Posts: 53
J
Adagio Buff
Adagio Buff
J Offline
Joined: Oct 2010
Posts: 53
I get the following error when trying to print in Adagio. I tried rebooting, then re-installing Adagio and still get the same error. Any ideas what to do?

Logon failed.
Details: [Database vendor code 160]
Error in file .......
Unable to connect: incorrect log on parameters
Details: [Database vendor code 160]

Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Adagio module? Version? Report?


Andrew Bates
Joined: Oct 2010
Posts: 53
J
Adagio Buff
Adagio Buff
J Offline
Joined: Oct 2010
Posts: 53
It's happening with all modules and all reports.
I'm using AP 9.2B, GL 9.2 B, etc.

Joined: Mar 1999
Posts: 11,763
Adagio Action Team
Adagio Action Team
Joined: Mar 1999
Posts: 11,763
Hi John,

The 'error 160' indicates that the Crystal Runtime is not able to make an ODBC connection. Adagio programs at version 9.2A or later use these components for reporting, rather than a different report table process in Adagio versions older than 9.2A.

One specific report - the User Preferences listing - does not use an ODBC connection, so if you can preview/print this report with no error, that means the Crystal Runtime install is OK, and the issue is with the ODBC part.

Some versions of Windows do not pre-install ODBC files MSVCR110.DLL and MSVCP110.DLL in the C:\Windows\SYSWOW64 directory. Recent versions of Adagio will install these, just in case Windows doesn't have them, and also save a copy to the \Softrak\System\Win32 and \sys64 directories in case you need to copy them in manually - say if the install user didn't have the correct rights.

In the \Softrak\System directory is also a utility OCSTEST.EXE to test the ODBC Connection String, with a help document ConnectionTesterInfo.PDF to describe how this works.


Regards,
Softrak Tech Support
Joined: Oct 2010
Posts: 53
J
Adagio Buff
Adagio Buff
J Offline
Joined: Oct 2010
Posts: 53
Sorry but I haven't been able to solve the problem yet.

The User Preferences listing runs OK
so that means the Crystal Runtime install is OK, and the issue is with the ODBC part.

I checked that the ODBC files MSVCR110.DLL and MSVCP110.DLL are in the C:\Windows\SYSWOW64 directory.

I ran OCSTEST.EXE to test the ODBC Connection String, using a sample string as described in the help document. I get the message: Unable to create connection!

FYI, here is the actual connection string that I tested it with:

DRIVER=AdagioDataSourceDriver;
DBQ=C:\SOFTRAK\Receivables\SAMDATA SAM;
DESCRIPTION=Adagio ODBC v2 Driver;
DBDIRECTORY=C:\SOFTRAK\Receivables\SAMDATA;
COLUMNS=COMMON;
DBFILTER=AR9*;
DBSELELECTOR=SAM;
NAMES=LONG;
TABLESALL=FALSE;
USERID=SYS;
PASSWORD=SYS;
RAWPASSWORD=1;

Joined: Jun 1999
Posts: 4,506
Adagio God
Adagio God
Joined: Jun 1999
Posts: 4,506
John

Workstation and server o/s?


Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com
Joined: Oct 2010
Posts: 53
J
Adagio Buff
Adagio Buff
J Offline
Joined: Oct 2010
Posts: 53
I'm running it on my laptop only, using the NFR versions of Adagio. OS is Windows 7 Professional Service Pack 1

Joined: Jun 2008
Posts: 1,211
Adagio Maestro
Adagio Maestro
Joined: Jun 2008
Posts: 1,211
I would reinstall Crystal manually. Current version is 13.0.16.1954. Is that the one you have installed?
The installer is System\CR_InstallCommon

Last edited by Patricia B.; 06/14/17 07:32 PM.

Patricia Balbuena Cotlear
AP SMART SUPPORT
236 991 3060




Joined: Oct 2010
Posts: 53
J
Adagio Buff
Adagio Buff
J Offline
Joined: Oct 2010
Posts: 53
I found the msi file in the folder you mentioned. Tried to reinstall but it said it could not find something. The only option was to quit.

Joined: Jun 2008
Posts: 1,211
Adagio Maestro
Adagio Maestro
Joined: Jun 2008
Posts: 1,211
Do you have the User Account Control disabled (bar at the bottom)? Disable it, restart the computer and try again.


Patricia Balbuena Cotlear
AP SMART SUPPORT
236 991 3060




Page 1 of 3 1 2 3

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 1,119 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,680
Posts71,644
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Powered by UBB.threads™ PHP Forum Software 8.0.0