RDM night discconection

avatar

Hello, my RDM Enterprise works with a central SQL Server Database where all the configuration and connections are stored.

About one month ago I started to received DB connection broken messages in the morning... I think that some process or task is affecting the connection between my PC and the RDM database, the problem is that I don't know where to look at the RDM logs to find some information that can help me to find out whats is happening in my environment.

do you know where might I found some database error logs information ?

Thank you.

Hernan

All Comments (6)

avatar

Hello,

What version of RDM are you running?

Is it possible to post a screenshot of the error message?

Do you have somehting relevant in Help -> Application Logs?

Best regards,

Jeff Dagenais

avatar

Thank you Jeff.

I'm sending you more information:

my current version is RDM Enterprise 13.6.6.0 64 bits

The whole message I get is:

System.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - El nombre de red especificado ya no está disponible.) ---> System.ComponentModel.Win32Exception (0x80004005): El nombre de red especificado ya no está disponible

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.TryReadByte(Byte& value)

at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()

at System.Data.SqlClient.SqlDataReader.get_MetaData()

at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)

at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)

at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

at Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseConnectionDataSource.ExecuteReader(String sql, IDbConnection dbConnection, IDbDataParameter[] parameters)

at Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseStateSubDataSource.GetAllConnectionStates()

ClientConnectionId:4bb68aeb-8df4-4793-b59f-33d80bda88f4

Pictured attached.

Thank you in advance for your help.

Hernán.

avatar

Hello,

As per the message, you really lose the connection with the SQL Server. You mentioned that this appear during your working hours, is that correct?

Let me verify with my engineering department what else can we verify to find the culprit of the issue.

Best regards,

Jeff Dagenais

avatar

Hello,

I had a chat with our engineering department and we suspect a restart of the server that may occurs every nights. Is this possible?

Could you verify the last restart of your server? You can consult this link to know how

https://www.mssqltips.com/sqlservertip/2501/find-last-restart-of-sql-server/

On the other hand, we will investigate why the message in RDM prompt in RDM.

Best regards,

Jeff Dagenais

avatar

Hello Jeff. The message should be appearing at night during a restart of "something" or an intensive backup.... and then I find the message in the morning when I log on into my PC.

My sql server is not restarting at night... I seems more like some networking problem. In this point know the exactly hour of the broken connection could help us a lot.

Hernan.

avatar

Hello,

Indeed, it seems to be related to the network, but I cannot confirmed this either.

Is there something relevant in Event Viewer?

Best regards,

Jeff Dagenais