After installing Management Reporter for ERP the processing fails. The error throws a AX 2012 General Ledger Transactions to Fact -- One or more errors occurred. -- Invalid operation. The connection is closed.
The full error exception in the logs is the following:
----- Log Start -----
task AX 2012 General Ledger Transactions to Fact progress at 2.78389820331594% ...
ERROR TID:TP-5 [2017-08-25T09:07:02.8077106-06:00]: An exception was thrown while reading object from table, GJAE, with key, 5672651075.
--- Exception Dump ---
Caught Exception: [System.Data.SqlClient.SqlException] A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
Stack trace:
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByteArray(Byte[] buff, Int32 offset, Int32 len, Int32& totalRead)
at System.Data.SqlClient.TdsParserStateObject.TryReadUInt16(UInt16& value)
at System.Data.SqlClient.TdsParser.TryGetTokenLength(Byte token, TdsParserStateObject stateObj, Int32& tokenLength)
at System.Data.SqlClient.TdsParser.TryGetDataLength(SqlMetaDataPriv colmeta, TdsParserStateObject stateObj, UInt64& length)
at System.Data.SqlClient.TdsParser.TryProcessColumnHeaderNoNBC(SqlMetaDataPriv col, TdsParserStateObject stateObj, Boolean& isNull, UInt64& length)
at System.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly)
at System.Data.SqlClient.SqlDataReader.TryReadColumnHeader(Int32 i)
at System.Data.SqlClient.SqlDataReader.ReadColumnHeader(Int32 i)
at System.Data.SqlClient.SqlDataReader.IsDBNull(Int32 i)
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.AX2012Helpers.ReadLong(SqlDataReader reader, String columnName)
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.ActualTransactionObjectProvider.<ReadObjectsSql>d__f.MoveNext()
Inner Exception: [System.ComponentModel.Win32Exception] An existing connection was forcibly closed by the remote host
Stack trace:
task AX 2012 General Ledger Transactions to Fact log event : Error ...
ERROR TID:TP-4 [2017-08-25T09:07:08.0409481-06:00]: One or more errors occurred.
--- Exception Dump ---
Caught Exception: [System.AggregateException] One or more errors occurred.
Stack trace:
at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.GeneralLedgerTransactionObjectProvider.<ReadObjects>d__33.MoveNext()
at Microsoft.Dynamics.Integration.Service.Tasks.MapWork.ProcessRecordsImplementation(OperationType operationType)
Inner Exception: [System.InvalidOperationException] Invalid operation. The connection is closed.
Stack trace:
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByteArray(Byte[] buff, Int32 offset, Int32 len, Int32& totalRead)
at System.Data.SqlClient.TdsParserStateObject.TryReadUInt16(UInt16& value)
at System.Data.SqlClient.TdsParser.TryGetTokenLength(Byte token, TdsParserStateObject stateObj, Int32& tokenLength)
at System.Data.SqlClient.TdsParser.TrySkipValue(SqlMetaDataPriv md, Int32 columnOrdinal, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.TrySkipRow(_SqlMetaDataSet columns, Int32 startCol, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.TryCleanPartialRead()
at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at System.Data.SqlClient.SqlDataReader.Read()
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.ActualTransactionObjectProvider.<ReadObjectsSql>d__f.MoveNext()
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.ActualTransactionObjectProvider.<ReadObjects>d__0.MoveNext()
at Microsoft.Dynamics.Integration.Adapters.AX2012GL.GeneralLedgerTransactionObjectProvider.<>c__DisplayClass31.<ReadObjects>b__23()
at System.Threading.Tasks.Task.Execute()
task AX 2012 General Ledger Transactions to Fact log event : Error ...
08/25/2017 15:07:08: task 88065639-18d3-4aa3-9661-a25c02fb6299 is Faulted
----- Log End -----
Anyone?
Thanks