Please specify the version of MS SQL Server and the version of Microsoft OLE DB Driver for SQL Server you are using?
MS SQL Server version made no diff, tested against 2008-2017..
MSOLEDB is v18.6 and the original Native was from MSSQL 2012, but I updated to match my Win10 and the same behavior.
Code: Select all
prNativeClient=11.0.6020.0(2012), 11.0.7462.6(2014SP3)
prMSOLEDB=18.6.0000.0 // all works with this
prSQL=06.01.7601 // LocalFailOver works
This was the error on Win7 using prNativeClient:
Code: Select all
exception class : EUniError
exception message : Object was open. Cannot execute command in current transaction context until previous opened DataSet (CursorType is ctDefaultResultSet) is fetched to end
and log data of the working Failover:
Code: Select all
EMSError: TCP Provider: An existing connection was forcibly closed by the remote host.
Alert: Reconnection Attempt: 1, Thread: MAIN
Info: Reconnected to : Microsoft SQL Server