تاریخ عضویت : 1395/03/06
ارسالها : 13 نوشته
کشور کاربر :
( تشکرها: 2 بار )
( 2 تشکر دریافتی در 2 ارسال )
|
با سلام و ادب در هنگام نصب دات نت نیوک بر روی هاست اینترنت، با ارور ذیل مواجه شدم: 8 دقیقه | 18% ERROR occured - System.Data.SqlClient.SqlException (0x80131904): Transaction (Process ID 82) 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.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:ce243eaa-8d16-47c2-9707-b2b52b1f30af /***** Fix bug 24171: update sp UpdateOnlineUser to check whether user is exist first. *****/ IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[UpdateOnlineUser]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1) DROP PROCEDURE dbo.UpdateOnlineUser System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'UpdateOnlineUser' in the database. 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.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:ce243eaa-8d16-47c2-9707-b2b52b1f30af CREATE PROCEDURE dbo.UpdateOnlineUser @UserID INT, @PortalID INT, @TabID INT, @LastActiveDate DATETIME AS BEGIN IF EXISTS (SELECT UserID FROM dbo.Users WHERE UserID = @UserID) BEGIN IF EXISTS (SELECT UserID FROM dbo.UsersOnline WHERE UserID = @UserID and PortalID = @PortalID) UPDATE dbo.UsersOnline SET TabID = @TabID, LastActiveDate = @LastActiveDate WHERE UserID = @UserID and PortalID = @PortalID ELSE INSERT INTO dbo.UsersOnline (UserID, PortalID, TabID, CreationDate, LastActiveDate) VALUES (@UserID, @PortalID, @TabID, GetDate(), @LastActiveDate) END END System.Data.SqlClient.SqlException (0x80131904): Transaction (Process ID 79) 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.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at DotNetNuke.Data.SqlDataProvider.ExecuteScriptInternal(String connectionString, String script) ClientConnectionId:1f9b8cee-2cc3-4a06-a8a4-745d6fd80c3b IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'dbo.[Journal_Save]') AND OBJECTPROPERTY(id, N'IsPROCEDURE') = 1) DROP PROCEDUR خواهشمندم ارائه طریق فرمایید.
|
1 کاربر از Hasan برای ارسال مفیدش تشکر کرده است.
|
|