Maurice Cote wrote:
Not really, thats all:
[27.02.2014 11:55:06 - 9.1.3.0]ERROR System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Die Anweisung wurde beendet.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseConnectionDataSource.ExecuteNonQuery(String sql, IDbTransaction dbTransaction, IDbDataParameter[] parameters)
at Devolutions.RemoteDesktopManager.Business.DataSources.SQLServerSecuritySubDataSource.DeleteRoleInfo(Guid roleInfoId)
****************************** SqlError ******************************
Message:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
****************************** SqlError ******************************
Message
ie Anweisung wurde beendet.
David Hervieux wrote:
I checked every user, but no one is assigned to that role.
By the way, an option to see all linked users to a role would be nice![smile]()
Edit: After some searching i found that the query is in "suspended"-mode on the mssql server. i took a look into dbo.UserInfo but the role seems to be like any other role there.
Spid ecid start_time Age Seconds nt_username status wait_type Individual Query Parent Query program_name Hostname nt_domain
57 0 2014-02-27 12:10:41.353 7 Max suspended PAGEIOLATCH_SH DELETE FROM UserInfo WHERE ID = @ID (@ID uniqueidentifier)DELETE FROM UserInfo WHERE ID = @ID .Net SqlClient Data Provider MAX-myPC myDomain
Greetings
Max
edited by Max on 2/27/2014
edited by Max on 2/27/2014
Hi
For me its instantaneous, is there something relevant in Help-View Application Logs?
Not really, thats all:
[27.02.2014 11:55:06 - 9.1.3.0]ERROR System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
Die Anweisung wurde beendet.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseConnectionDataSource.ExecuteNonQuery(String sql, IDbTransaction dbTransaction, IDbDataParameter[] parameters)
at Devolutions.RemoteDesktopManager.Business.DataSources.SQLServerSecuritySubDataSource.DeleteRoleInfo(Guid roleInfoId)
****************************** SqlError ******************************
Message:Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
****************************** SqlError ******************************
Message

David Hervieux wrote:
Could you try to remove the role to your users before deleting it?
I checked every user, but no one is assigned to that role.
By the way, an option to see all linked users to a role would be nice

Edit: After some searching i found that the query is in "suspended"-mode on the mssql server. i took a look into dbo.UserInfo but the role seems to be like any other role there.
Spid ecid start_time Age Seconds nt_username status wait_type Individual Query Parent Query program_name Hostname nt_domain
57 0 2014-02-27 12:10:41.353 7 Max suspended PAGEIOLATCH_SH DELETE FROM UserInfo WHERE ID = @ID (@ID uniqueidentifier)DELETE FROM UserInfo WHERE ID = @ID .Net SqlClient Data Provider MAX-myPC myDomain
Greetings
Max
edited by Max on 2/27/2014
edited by Max on 2/27/2014