Since last week we get multiple SQL errors with our AX 4 SP2 and SQL Server 2008R2 environment.
Some Sessions where I run batch jobs for multiple hours on the server at night don't have any problems. Other batch-session on the same server stop within irregular intervals. Sometimes they run over 4 hours, sometimes they stop after 15 minutes.
In the AOS Logfile it seems that the errors always appear a few seconds after full hours, for example at 03:00:33, 09:00:59, 19:00:56, 22:01:34.
I don't have batch-jobs in Dynamics AX which run at that times, so I think it's a problem with the sql server, maybe when the sql server is making backups for the transaction files.
The errors also appear on some clients running Windows 10. They delete the error message in the client an continue working in the same session without any problems.
Any ideas what could be the problem or where I can start searching for errors?
AOS Logfile:
Ein Fehler ist aufgetreten:
Benutzerkennung: Admin
Uhrzeit: 09:01:10 31.10.2018
Version: Microsoft Dynamics 4.0 (Erstellungsnummer 2503.362)
Datenbank: Microsoft SQL Server
SQL-Anweisung: [Kennung=0, Wiederverwendet=Nein]
Fehlertext: [Microsoft][ODBC Driver Manager] Die Verbindung ist nicht geöffnet
SQL-Fehlercode: -101016
Eventlog:
Object Server 03: Fatal SQL condition during login. Error message: "[Microsoft][ODBC SQL Server Driver]Anmeldungstimeout abgelaufen"
Object Server 03: SQL diagnostics: [Microsoft][ODBC SQL Server Driver]Anmeldungstimeout abgelaufen. Connect information was: Userid = [], Database = [Dynamics_AX_4_DATABASE], Server = [SQLSERVER], DSN = [], Other = []
Object Server 03: The database reported (session 2 (NAME)): [Microsoft][ODBC Driver Manager] Die Verbindung ist nicht geöffnet. The SQL statement was: "SELECT ...
Object Server 03: Dialog issued for client-less session 2: Cannot select a record in User Information (UserInfo). User ID: , .
Error accessing database connection.
Error Message in the Client:
SQL-Fehlerbeschreibung: [Microsoft][ODBC Driver Manager] Die Verbindung ist nicht geöffnet
SQL-Anweisung: SELECT ...
Ein Datensatz in ... kann nicht ausgewählt werden. Priorität: 0, . Fehler beim Zugriff auf die Datenbankverbindung.
SQL-Fehlerbeschreibung: [Microsoft][ODBC Driver Manager] Die Verbindung ist nicht geöffnet
Ein Datensatz in ... kann nicht ausgewählt werden. Priorität: 0, . Fehler beim Zugriff auf die Datenbankverbindung.
*This post is locked for comments