用TransactionScope时,连接到oracle。报如下错误
ORA-00161: 事务处理的分支长度 82 非法 (允许的最大长度为 64)\0
请教解决方法,网上说的那些都试过了没用。
PS:我的数据库是:oracle 10g
谢谢!

解决方案 »

  1.   

    [oracle@dave ~]$ oerr ora 161
    00161, 00000, "transaction branch length %s is illegal (maximum allowed %s)"
    // *Cause:  An external transaction branch ID with a length either too large
    //          or 0 was passed in.
    // *Action: Report the problem to your external transaction coordinator
    //          vendor.
    Oracle 和MSSQL 是不一样的。 这个没啥好说的,修改代码吧。
      

  2.   

    试试
    http://www.cnblogs.com/ewyb/archive/2010/04/20/1716057.html