I posted a question to Stack Overflow about this error when it started occurring for our older Delphi 7 applications on Windows 10.
It is now happening on Windows Server 2012 R2 systems that had these recent updates:
- KB5020690
- KB5019958
- KB5020023
- KB5020010
- KB5020680
We uninstalled KB5019958, thinking it was the most likely culprit, but that didn't fix the issue. Rolling back all 5 updates did fix it though. We have another server exhibiting the same problem, so we will roll each update back and test until the error is gone, then reinstall all the other updates to ensure it's not a combined affect.
It is certainly a client issue, as the SQL Server 2014 machine does have these updates installed, so our program falls over when run directly on that server, but not when run on the remote app server where the updates have been rolled back which is connecting to that SQL server.
EDIT 21/11
After trial and error, we found that if the update for either KB5020010 or KB5020023 was installed, then the older Delphi 7 programs threw the error.
Interestingly, both these updates
Addresses security vulnerabilities in the Kerberos and Netlogon
protocols
No mention on the KB articles about the updates affecting SQL Server connections.