Ingo, I ran the $ioprint=1023 on 9.7.05 22 and then I rolled back to 9.7.05 no patches and ran it again. I'll paste it in here because the email said "no reply" (and I don't see where I can do an attachment?).
Note: If I put the path information in the ASN file, it works fine; but that is just a work-around. We store the database connection in a file called "HIS_IN.DAT", which we read and the populate the "$connect_string$". I tried it both with the file and then hard coded the connect string, with the same result:
9.7.05 Patch 22
entry lp_open_db
; If the database is already open, the following statement
; performs an implicit close.
; This only opens the main database. May need to add ud0, etc.
debug
$ioprint=1023
; open "%%$connect_string$%%%|%%$dbms_user$%%%|%%$dbms_pass$%%%","hdb"
open "HIS2017E:HISTASK||", "hdb"
"I/O function: L, mode: 0, on driver: MSS; Path: $HDB
Feature UMSS expires in 3650000 days
Checkout UMSS: 1
Loaded 'umss52' from C:\Unifacex86\Uniface9705\common\bin\umss52.dll, version: 9.7.05 022
Uniface Microsoft SQLServer driver
Driver Version = U5.2 , Software = Microsoft SQL Server 2017 driver controlled release , Software Version = 5.2
Connections :60
Procedures :Disabled
Mapping :Default
Logon Timeout :32
Open Statements :128
Hold Statements :Enabled
Entity Names :Lowercase
Identifiers :Quoted
NLS :Disabled
SMP :Disabled
StmtCache :Enabled
KeysetCursor :Disabled
SlctEnhance :Disabled
Sql92NPW :Disabled
Checks :Enabled
RI :Uniface
Unicode :Disabled
Record Size :Database default
Segmented Fields :Enabled
PRA :Disabled
Default Locking :Optimistic
Lock Timeout :10
MaxLockWait :10
Mars :Enabled
Upgr. Fetch Procs:Disabled
Step Size :10
Lock Isolation :Committed Read
nullDefault :Not Specified
Create Database :Disabled
Connection string: DSN=HIS2017E;Database=?;UID=******;PWD=******;WSID=JCD-DEVEL;APP="C:\Unifacex86\Uniface9705\common\bin\unifac
e.exe" /adm=c:\UNIFACEx86\Uniface9705\uniface\adm /ini=c:\hisdev\appl\histask.ini /a
I/O function: L, mode: 0, on driver: MSS; Path: $HDB
28000 [Microsoft][SQL Server Native Client 11.0][SQL Server]Login failed for user 'JCDTEST\jroberson'.
Logon (MSS:HIS2017E:?|******|******) failed with status -1, Error occurred"
Rolled back to vanilla 9.7.05 (no patches)
"I/O function: L, mode: 0, on driver: MSS; Path: $HDB
Feature UMSS expires in 3650000 days
Checkout UMSS: 1
Loaded 'umss52' from C:\Unifacex86\Uniface9705\common\bin\umss52.dll, version: 9.7.05
Uniface Microsoft SQLServer driver
Driver Version = U5.2 , Software = Microsoft SQL Server 2017 driver controlled release , Software Version = 5.2
Connections :60
Procedures :Disabled
Mapping :Default
Logon Timeout :32
Open Statements :128
Hold Statements :Enabled
Entity Names :Lowercase
Identifiers :Quoted
NLS :Disabled
SMP :Disabled
StmtCache :Enabled
KeysetCursor :Disabled
SlctEnhance :Disabled
Sql92NPW :Disabled
Checks :Enabled
RI :Uniface
Unicode :Disabled
Record Size :Database default
Segmented Fields :Enabled
PRA :Disabled
Default Locking :Optimistic
Lock Timeout :10
MaxLockWait :10
Mars :Enabled
Upgr. Fetch Procs:Disabled
Step Size :10
Lock Isolation :Committed Read
nullDefault :Not Specified
Create Database :Disabled
Connection string: DSN=HIS2017E;UID=;PWD=;WSID=JCD-DEVEL;APP="C:\Unifacex86\Uniface9705\common\bin\uniface.exe" /adm=c:\UNIFACEx
86\Uniface9705\uniface\adm /ini=c:\hisdev\appl\histask.ini /a
SQLServer System Information :
------------------------------------------------
Driver : sqlncli11.dll 11.00.7462
Server name : JCD-DEVEL\HIS2017E
Data source : HIS2017E
ODBC Version : 03.80.0000
Driver ODBC Version : 03.80
SQLServer2 Database Information :
------------------------------------------------
Database name : HISTASK
User name : dbo
DBMS name : Microsoft SQL Server
DBMS Version : 14.00.1000
(Full server version not available, last SQLResult = -1)
"