Hello,
I have a Data Integration activity that fails with the error below when the imported XML file is large ( > 10 Mb). Breaking the file into smaller parts allows the activity to complete successfully, however, because the destination provider is set to "Remove missing items after import", running multiple imports simply deletes the previous data. Is there a way to set the timeout for the import activity longer to avoid this error?
Job Failed with the following message: The operation is not valid for the state of the transaction.
at System.Transactions.TransactionState.EnlistPromotableSinglePhase(InternalTransaction tx, IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Transaction atomicTransaction, Guid promoterType) at System.Transactions.Transaction.EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification, Guid promoterType) at System.Transactions.Transaction.EnlistPromotableSinglePhase(IPromotableSinglePhaseNotification promotableSinglePhaseNotification) at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx) at System.Data.SqlClient.SqlInternalConnection.Enlist(Transaction tx) at System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction) at System.Data.ProviderBase.DbConnectionPool.PrepareConnection(DbConnection owningObject, DbConnectionInternal obj, Transaction transaction) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at Dynamicweb.Data.DatabaseConnectionProvider.CreateConnection() at Dynamicweb.Data.Database.ExecuteScalar(CommandBuilder commandBuilder, IDbConnection connection) at Dynamicweb.Data.GeneralLogRepository.SaveEvent(LogEvent logEvent) at Dynamicweb.Logging.LogEvents.LogEventService.SaveEvent(LogEvent logEvent) at Dynamicweb.Logging.LoggerBase.Log(LogLevel level, String message, Exception ex) at Dynamicweb.Data.Database.ExecuteNonQuery(IDbCommand command) at Dynamicweb.Data.Database.ExecuteNonQuery(CommandBuilder commandBuilder, IDbConnection connection, IDbTransaction transaction, Int32 commandTimeout) at Dynamicweb.Data.Database.ExecuteNonQuery(CommandBuilder commandBuilder, IDbConnection connection, Boolean useTransaction, Int32 commandTimeout) at Dynamicweb.Data.Database.ExecuteNonQuery(CommandBuilder commandBuilder, Boolean useTransaction, Int32 commandTimeout) at Dynamicweb.Content.Items.ItemList.DeleteRelation(Int32 itemListId, String itemId, Boolean deleteItem, String itemType) at Dynamicweb.DataIntegration.Providers.ItemDestinationWriter.DeleteAssociatedWithMissedItems(String itemType, List`1 itemIDsToRemove) at Dynamicweb.DataIntegration.Providers.ItemDestinationWriter.DeleteMissingItems(Boolean deleteAssociatedWithMissedItems) at Dynamicweb.DataIntegration.Providers.ItemProvider.ItemProvider.RunJob(Job job)