Здравствуйте!
Как и у всех - наблюдаю какие-то проблемы с сайтом. Глючит ASP..
1) В профиле при попытке, например, изменить геймертаг и нажать кнопку "изменить" выдается ошибка
Server Error in '/' Application.
--------------------------------------------------------------------------------
Violation of UNIQUE KEY constraint 'UQ__Community_GamerK__4AF11DCD'. Cannot insert duplicate key in object 'Community_GamerKonkurs'.
The statement has been terminated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'UQ__Community_GamerK__4AF11DCD'. Cannot insert duplicate key in object 'Community_GamerKonkurs'.
The statement has been terminated.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +925466
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800118
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1932
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +149
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1005
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +149
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135
ASPNET.StarterKit.Communities.DB.ExecuteNonQuery(String procedure, SqlParameter list) in C:\Users\Alex\Documents\Visual Studio 2008\Projects\xbox\ASPNET.StarterKit.Communities\Framework\DataLayer\DB.cs:62
ASPNET.StarterKit.Communities.EditProfile.btnUpdate_Click(Object s, EventArgs e) in C:\Users\Alex\Documents\Visual Studio 2008\Projects\xbox\ASPNET.StarterKit.Communities\Framework\Users\Content\EditProfile.cs:240
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
Дельфин
116582
[quote=Дельфин]
Здравствуйте!
Как и у всех - наблюдаю какие-то проблемы с сайтом. Глючит ASP..
1) В профиле при попытке, например, изменить геймертаг и нажать кнопку "изменить" выдается ошибка
Server Error in '/' Application.
--------------------------------------------------------------------------------
Violation of UNIQUE KEY constraint 'UQ__Community_GamerK__4AF11DCD'. Cannot insert duplicate key in object 'Community_GamerKonkurs'.
The statement has been terminated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Violation of UNIQUE KEY constraint 'UQ__Community_GamerK__4AF11DCD'. Cannot insert duplicate key in object 'Community_GamerKonkurs'.
The statement has been terminated.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException (0x80131904): Violation of UNIQUE KEY constraint 'UQ__Community_GamerK__4AF11DCD'. Cannot insert duplicate key in object 'Community_GamerKonkurs'.
The statement has been terminated.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +925466
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800118
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1932
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +149
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1005
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +149
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135
ASPNET.StarterKit.Communities.DB.ExecuteNonQuery(String procedure, SqlParameter[] list) in C:\Users\Alex\Documents\Visual Studio 2008\Projects\xbox\ASPNET.StarterKit.Communities\Framework\DataLayer\DB.cs:62
ASPNET.StarterKit.Communities.EditProfile.btnUpdate_Click(Object s, EventArgs e) in C:\Users\Alex\Documents\Visual Studio 2008\Projects\xbox\ASPNET.StarterKit.Communities\Framework\Users\Content\EditProfile.cs:240
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
[/quote]