S2G 11/22/2018 12:53:45 PM

The operation is not valid for the state of the transaction.

Hi, i'm testing an econnect 14 integration on SOP Modulu in which i have to send a lot of records (14K thousand orders total /18k thousand lines total).

In order to do this i'm sending one big econnect transaction, data is OK, however i'm getting this error:

"The operation is not valid for the state of the transaction."

Seems like some sort of timeout or disconnection, i just wonder if somebody had this in the past and how to it was solved, below you'll see the stacktrace.

  at Microsoft.Dynamics.GP.eConnect.ServiceProxy.CreateTransactionEntity(String connectionString, String xml)
   at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction)
   at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessEntityImport(String connectionString, String sXML, Boolean isTransaction)
   at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateTransactionEntity(String connectionString, String sXML)
   at SopConsApp.Program.Main(String[] args) in c:\Console Apps\SopConsApp\SopConsApp\Program.cs:line 266

Version: GP 2015
Section: Dynamics GP, eConnect


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3