System.Exception: Problema na gravação dos dados. ---> System.Exception: [APP]Problema de acesso aos dados. [SQL origem] UPDATE GEN_RevendaAcesso SET totVisitas = ISNULL(totVisitas,0) + 1 WHERE idRevendaAcesso = @idRevendaAcesso ---> System.Data.SqlClient.SqlException: Transaction (Process ID 167) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) 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.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at GrupoPLA._Matrix.Matrix.ExecutarNonQuery(SqlCommand cmd) in C:\TRABALHO\GRUPOPLA\GrupoPLA._Matrix\GrupoPLA._Matrix\Matrix.cs:line 130 --- End of inner exception stack trace --- at GrupoPLA._Matrix.Matrix.ExecutarNonQuery(SqlCommand cmd) in C:\TRABALHO\GRUPOPLA\GrupoPLA._Matrix\GrupoPLA._Matrix\Matrix.cs:line 140 at GrupoPLA.Cliente.Estatistica.Gravar(Cliente cli, String indSite, String tipoVisita) in C:\TRABALHO\GRUPOPLA\GrupoPLA.Cliente\GrupoPLA.Cliente\Estatistica.cs:line 374 --- End of inner exception stack trace --- at GrupoPLA.Cliente.Estatistica.Gravar(Cliente cli, String indSite, String tipoVisita) in C:\TRABALHO\GRUPOPLA\GrupoPLA.Cliente\GrupoPLA.Cliente\Estatistica.cs:line 378 at MasterPage.CarregarPagina() in e:\home\autogerenciador1\Web\Templates\Template AutomotiveCar\MasterPage.master.cs:line 73 Rodomarka Implementos Rodoviários - Librelato

Linha Leve

scroll up