If you get following exception with Sybase ASE drive: 'System.Reflection.TargetInvocationException, Msg=Exception has been thrown by the target of an invocation. Exception details: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Sybase.Data.AseClient.AseConnection' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'sybdrvado115a.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at ?.AseGetDriverVersion(StringBuilder A_0, Int32 A_1) at Sybase.Data.AseClient.AseConnection.?() at Sybase.Data.AseClient.AseConnection..cctor() --- End of inner exception stack trace --- at Sybase.Data.AseClient.AseConnection..ctor(String connectionString) Please make sure the program can see sybdrvado115.dll, msvcp71.dll and msvcr71.dll in that same directory http://www.elsasoft.org/SqlSpec.htm =================== Query to check blocking at sybase: select spid,suser_name(suid),cmd,status,blocked,time_blocked,physical_io from master..sysprocesses where blocked <> 0