Hi all,
This is the continuation of the issue and my further findings of the thread at https://community.dynamics.com/ax/f/33/p/165475/409004#409004
Scenario:
I have a 3 Box environment (one SQL Box and 2 AOS Box) One AOS has DIXF running in it.
In AOS and DIXF box I find these types of error:
Object Server 01: The database reported (session 2 (-AOS-)): [Microsoft][ODBC Driver Manager] Connection not open. The SQL statement was: "SELECT T1.ELEMENTHANDLE,T1.LAYERID,T1.NAME,T1.PRIMARYTABLEAOTNAME,T1.QUERYOBJECTAOTNAME,T1.CONSTRAINEDTABLE,T1.CONTEXTTYPE,T1.CONTEXTSTRING,T1.ISMODELED,T1.MODELEDQUERYDEBUGINFO,T1.ISDIRTY,T1.OPERATION,T1.RECVERSION,T1.RECID,T1.MODELEDQUERYPACKDATA FROM [<AXPRODDB_model>].[dbo].MODELSECPOLRUNTIMEVIEW T1 WHERE (CONSTRAINEDTABLE=?)" Object Server 01: SQL diagnostics: [Microsoft][SQL Server Native Client 10.0]Login timeout expired. Connect information was: Userid = [], Database = [<AXPRODDB>], Server = [<AXDBSERVER>], DSN = [], Other = [] Object Server 01: Fatal SQL condition during login. Error message: "[Microsoft][SQL Server Native Client 10.0]Login timeout expired" Object Server 01: The database reported (session 2 (-AOS-)): [Microsoft][ODBC Driver Manager] Connection not open. The SQL statement was: "SELECT T1.SCOPE,T1.FLUSHVERSION,T1.MODIFIEDDATETIME,T1.RECVERSION,T1.RECID,T1.CLEARDATA,T1.FLUSHDATA FROM SYSCACHEFLUSH T1 WHERE (SCOPE=?)" Object Server 01: SQL diagnostics: [Microsoft][SQL Server Native Client 10.0]Login timeout expired. Connect information was: Userid = [], Database = [<AXPRODDB>], Server = [<DBSERVER>], DSN = [], Other = [] Object Server 01: Fatal SQL condition during login. Error message: "[Microsoft][SQL Server Native Client 10.0]Login timeout expired" Object Server 01: The database reported (session 1 (-AOS-)): [Microsoft][ODBC Driver Manager] Connection not open. The SQL statement was: "SELECT T1.SESSIONID,T1.SERVERID,T1.VERSION,T1.LOGINDATETIME,T1.LOGINDATETIMETZID,T1.STATUS,T1.USERID,T1.SID,T1.USERLANGUAGE,T1.HELPLANGUAGE,T1.CLIENTTYPE,T1.SESSIONTYPE,T1.CLIENTCOMPUTER,T1.DATAPARTITION,T1.RECVERSION,T1.RECID FROM SYSCLIENTSESSIONS T1 WHERE ((STATUS=?) AND (SERVERID=?))"
Sometimes when I open a AX client that connects to ay of these AOS, I get this error in AX infolog:
Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=1; handshake=2; [Login] initialization=0; authentication=0; [Post-Login] complete=14003;
In the SQL box I see these errors in event log:
AXUtil operation failed : Validating Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=1; handshake=2; [Login] initialization=0; authentication=0; [Post-Login] complete=15002; Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=1; handshake=2; [Login] initialization=0; authentication=0; [Post-Login] complete=15002; The wait operation timed out Server: <ServerName> Database: <AXPRODDB_model> Layer: Model: Schema: 1.9 AXUtil version: 6.2.1000.4051 Executed by: administrator
I have these software and version:
AX Version : AX 2012 R2 CU7 (6.2.1000.4051)
SQL Server Version : SQL Server 2012 RTM Standard (11.0.2100.60)
I am completely not sure what is causing this error. The network seems fine as continuous ping showed no issues.
Can this be because I am missing something that sould have been installed (considering that I have AX 2012 R2 CU7 and SQL Server 2012). May be some hotfix I am missing.
Can SQL server memory be an issue ? I do not think so because I see these errors at our night time when only the batch jobs are running and no users are working on AX.
Even when we do the Full CIL on AOS, it throws me the same error (connection timeout error)
Any suggestions/approaches would really help. Any pointers or suggestion to investigate would also help.
Regards,
Girija
*This post is locked for comments