中国开发网: 论坛: 程序员情感CBD: 贴子 730356
beijingshizi
没脾气,报告一个bug
Server Error in '/' Application.
String or binary data would be truncated.
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: String or binary data would be truncated.
The statement has been terminated.

Source Error:

Line 104: else
Line 105: {
Line 106: AppHolder.UserSystem.HelperUpdate( user, password );
Line 107: abcMessage.Text = "保存完毕";
Line 108: }


Source File: d:\zhaix\websites\cndev.org#www\ox_userop\self_modi.aspx Line: 106

Stack Trace:

[SqlException (0x80131904): String or binary data would be truncated.
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
Nox.Common.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) +90
Nox.Common.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) +112
Nox.Common.Data.SqlDbConnection.ExecuteNonQuery(String sql, SqlParameter[] p) +44
Nox.Common.Data.SqlUpdateBuilder.Execute(SqlParameter[] pmts) +704
NoxForum.Framework.UserSystem.HelperUpdate(User user, String password) +338
ASP.ox_userop_self_modi_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www\ox_userop\self_modi.aspx:106
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +5
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +858603
System.Web.UI.Control.OnLoad(EventArgs e) +99
NoxForum.Framework.Pages.BasePage.OnLoad(EventArgs e) +79
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录