MS SQL Server - IsolationLevel problem
Posted: Mon 30 Nov 2015 07:12
I have a backup task and to run it I open a separate connection with
IsolationLevel := ilSnapShot
Readonly := True
So far this works fine on my workstation, including MS SQL Server. But on other computers the application fails when I try to open the connection:
0149eab4 Logo.exe MSClassesUni 1188 TMSSQLConnection.Connect
012eb941 Logo.exe DBAccess 4065 TCustomDAConnection.DoConnect
0134253f Logo.exe Uni 1791 TUniConnection.DoConnect
012ebc97 Logo.exe DBAccess 4181 TCustomDAConnection.PerformConnect
012eeb08 Logo.exe DBAccess 5184 TCustomDAConnection.SetConnected
005d8be0 Logo.exe Data.DB TCustomConnection.Open
01427f3a Logo.exe BSDBUniDACImp 331 TBSUniConnection.InternalOpen
This is the error message. Maybe not 100% correct because the original was in german:
Errors in a multi-step OLE DB operation. Check each OLE DB status value, if available. Data has not been processed. {C8B522C6-5CF3-11CE-ade5-00aa0044773d} [0]: = $. 2 PropID: = 190th
The only difference between mine and other workstations is, that I have installed the MS SQL Server client on mine. Is there any additional property I have to set in the TUniConnection to make Snapshot isolation work without the client installed?
cu Christian
IsolationLevel := ilSnapShot
Readonly := True
So far this works fine on my workstation, including MS SQL Server. But on other computers the application fails when I try to open the connection:
0149eab4 Logo.exe MSClassesUni 1188 TMSSQLConnection.Connect
012eb941 Logo.exe DBAccess 4065 TCustomDAConnection.DoConnect
0134253f Logo.exe Uni 1791 TUniConnection.DoConnect
012ebc97 Logo.exe DBAccess 4181 TCustomDAConnection.PerformConnect
012eeb08 Logo.exe DBAccess 5184 TCustomDAConnection.SetConnected
005d8be0 Logo.exe Data.DB TCustomConnection.Open
01427f3a Logo.exe BSDBUniDACImp 331 TBSUniConnection.InternalOpen
This is the error message. Maybe not 100% correct because the original was in german:
Errors in a multi-step OLE DB operation. Check each OLE DB status value, if available. Data has not been processed. {C8B522C6-5CF3-11CE-ade5-00aa0044773d} [0]: = $. 2 PropID: = 190th
The only difference between mine and other workstations is, that I have installed the MS SQL Server client on mine. Is there any additional property I have to set in the TUniConnection to make Snapshot isolation work without the client installed?
cu Christian