中国开发网: 论坛: 程序员情感CBD: 贴子 236104
hmaik
更改个人设置错误
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 111: else
Line 112: {
Line 113: UserSystem.HelperUpdate( user, password );
Line 114: abcMessage.Text = "保存完毕";
Line 115: }


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

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) +856218
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +733862
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838
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) +886
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) +415
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135
Nox.Common.Data.SqlHelper.ExecuteNonQuery(SqlConnection connection, CommandType commandType, String commandText, SqlParameter[] commandParameters) in D:\Projects\NoxDotNet\Nox.Common\Data\SqlHelper.cs:295
Nox.Common.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters) in D:\Projects\NoxDotNet\Nox.Common\Data\SqlHelper.cs:254
Nox.Common.Data.SqlDbConnection.ExecuteNonQuery(String sql, SqlParameter[] p) in D:\Projects\NoxDotNet\Nox.Common\Data\SqlDbConnection.cs:62
Nox.Common.Data.SqlUpdateBuilder.Execute(SqlParameter[] pmts) in D:\Projects\NoxDotNet\Nox.Common\Data\SqlUpdateBuilder.cs:74
NoxForum.Framework.UserSystem.HelperUpdate(User user, String password) +330
ASP.ox_userop_self_modi_aspx.Page_Load() in d:\zhaix\websites\cndev.org#www\ox_userop\self_modi.aspx:113
System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +5
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +781567
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) +1061




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.26; ASP.NET Version:2.0.50727.26

相关信息:


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