0 votes

So we had 2017 version and we installed a new 2018.2 version and restored the configuration. Everything is going fine, except for external logging. We had an external database to log data beyond a certain date. I am trying to use the same database. Is this okay to point t old database? I hoping nothing different inside the DB and it will just start inserting data. Check connection goes successful but then it fails right away. Attaching screenshots. Just to note Adaxes service account has full access to the database. Both source addaxes servers are in the same network, no firewall or thing which will cause this.

Windows Event log creates below event ID.
Softerra.Adaxes.Logger+LogMessageWrappingException: Failed to save log records to the external database. ---> Softerra.Adaxes.Logging.ExternalDatabaseException: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Database: AdaxesLog (FSQL)
Username: domain\account ---> System.Data.SqlClient.SqlException: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation timed out
--- End of inner exception stack trace ---

by (460 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

We had an external database to log data beyond a certain date. I am trying to use the same database. Is this okay to point t old database?

The old and the new instances of Adaxes should write their logs into the same external MS SQL database without any issues. But starting with Adaxes 2018.1, log records are stored in UTC standard while the records created by Adaxes 2017.2 and older are stored using local time of the computer where the operations were executed. Thus, the time in log records created by another service will be shown wrong. So, we recommend using separate external MS SQL databases for Adaxes services of 2017.2 and older, and Adaxes 2018.1 and later.

Windows Event log creates below event ID.

Does the Connection failed error occur for the old instance too?
It looks like the issue is related to the settings of your SQL server. Probably, the server is not configured to handle deadlocks properly. For information on how to analyze deadlocks with SQL Server Profiler, have a look at the following help article: https://docs.microsoft.com/en-us/sql/to ... erver-2017.
Additional information about the issue can be retrieved from SQL error log. For information on how to view the SQL Server error log, have a look at the following article: https://docs.microsoft.com/en-us/sql/re ... erver-2017.

Related questions

0 votes
1 answer

We are currently connecting to SQL 2019 and our DBAs would like to verify SQL 2022 is supported prior to migrating.

asked Jul 15 by tjackson111 (110 points)
0 votes
1 answer

Our SQL DBAs are working to move most/all our SQL connections to SSL. They have asked if Adaxes can support this.

asked Feb 22, 2021 by ggallaway (300 points)
0 votes
1 answer

Good afternoon Support, I've recently reinstalled Adaxes on one of our nodes to update to the 2015.1 version. Upon bringing services online the node is no longer able to write to the ... , AdmLogRecord record) at #Tk.#il.#i.#jl.#9ub() at #Tk.#il.#i.#jl.#8ub()

asked Oct 29, 2015 by strikk (360 points)
0 votes
1 answer

Now that version 2025.1 allows you to type in an external email address in the "Forward to" field, how can you restrict that? We only allow our admins to set ... in Exchange Online, and an Exchange SE server + EntraID Connect to sync the Exchange attributes.

asked Jul 10 by felix (190 points)
0 votes
1 answer

Does Adaxes support this natively or would we have to rely on Graph API to accomplish this?

asked Jun 26 by ms1 (40 points)
3,739 questions
3,417 answers
8,641 comments
550,350 users