We were facing an issue when we try to connect to AX4 via dotnet business connector. Every time the LOGON/LOGONAS method been called, business connector throw the exception “System.OutOfMemoryException”. This problem was solved after we switched the connection of biz connector to another AOS (with same application). We know that this is not the exception thrown by AX code but we would like to know how this can be resolved.
Before this OutOfMemory exception, we first got the following exception...
Description:
The description for Event ID ( 110 ) in Source ( Dynamics .NET Business Connector 4.0 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Microsoft Dynamics Business Connector Session 360.
, An X++ exception has occurred.
Cannot select a record in Customer invoice journal (CustInvoiceJour). Invoice: , .
The SQL database has issued an error.
SQL error description: ORA-01406: fetched column value was truncated
SQL statement: SELECT /*+ INDEX(A I_062INVOICENUMIDX) */A.CUSTGROUP,A.REFNUM,A.SALESID,A.ORDERACCOUNT,A.INVOICEACCOUNT,A.INVOICEDATE