on 09-26-2014 12:29 PM
What may be causing this error??
Sometimes the transactions runs fine, and other times I get this error message.
Database.SqlQuery<int>("select dba.getnextid()");
NativeError: -803
Message: Unable to enlist transaction; DTC may be down
Source: SQL Anywhere .NET Data Provider
StackTrace:
at iAnywhere.Data.SQLAnywhere.SAException.CheckException(Int32 idEx)
at iAnywhere.Data.SQLAnywhere.DurableResourceManager.Enlist(SAInternalConnection conn, Transaction tran)
at iAnywhere.Data.SQLAnywhere.SAInternalConnection.Enlist(Transaction tran)
at iAnywhere.Data.SQLAnywhere.SAConnection._EnlistTransaction(Transaction tran)
at iAnywhere.Data.SQLAnywhere.SAConnection.EnlistTransaction(Transaction transaction)
at System.Data.EntityClient.EntityConnection.EnlistTransaction(Transaction transaction)
Can't seem to figure out how to resolve this issue, nor what's causing it.
Enabling the MSDTC service solved it. (Distributed Transaction Coordinator)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.