你是用什么连接的oracle?ODBC.NET还是OLEDB?

解决方案 »

  1.   

    引用了Oracle的一个Dll, Oracle.DataAccess
      

  2.   

    ORA-02049: time-out: distributed transaction waiting for lock 
    Cause: The time to wait on a lock in a distributed transaction has been exceeded. This time is specified in the initialization parameter DISTRIBUTED_LOCK_TIMEOUT. Action: This situation is treated as a deadlock and the statement was rolled back. To set the time-out interval to a longer interval, adjust the initialization parameter DISTRIBUTED_LOCK_TIMEOUT, then shut down and restart the instance.