Server Error in '/FAWeb7' Application. String or binary data would be truncated. The statement has been terminated.

The following error display when trying to view Student Progress in FAWeb:

Server Error in '/FAWeb7' 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: 

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): String or binary data would be truncated.
The statement has been terminated.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +1950554
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4856747
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1121
   System.Data.SqlClient.SqlDataReader.SetMetaData(_SqlMetaDataSet metaData, Boolean moreInfo) +128
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +797
   System.Data.SqlClient.SqlDataReader.ConsumeMetaData() +33
   System.Data.SqlClient.SqlDataReader.get_MetaData() +83
   System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +293
   System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
   System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
   System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141
   System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +130
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +94
   Blackbaud.Web.FE.SPWrap.EA7GetCategoryGradesForStudentsAndClasses.WrapperRoutines.ExecuteDataSet(SqlConnection conn, String ssStudentIDs, String ssClassIDs, String ssMCIDs, Int16 bSortByClass, Int32 iDisplayUsing, Int32& iReturnValue) +211
   Blackbaud.Web.FE.NCFAWebLib.FAWebDataLib.GetCategoryGradesForStudentsAndClasses(String studentIds, String classIds, String markingColumnIds, Boolean sortByClass, Int32 displayUsing) +142
   Blackbaud.Web.FE.FAWEB.StudentProgress.SetupStudentProgressData() +383
   Blackbaud.Web.FE.FAWEB.StudentProgress.Page_Load(Object sender, EventArgs e) +1215
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +265
   System.Web.UI.ControlCollection.Add(Control child) +80
   Blackbaud.Web.FE.FAWEB.StudentDisplayShell.LoadCurrentControl() +472
   Blackbaud.Web.FE.FAWEB.StudentDisplayShell.myMenuId_ItemClick(Object sender, MenuItemClickEventArgs e) +64
   Blackbaud.Web.FE.FAWEB.StudentDisplayMenu.StudentDisplayMenuId_ItemClick(Object sender, MenuItemClickEventArgs e) +41
   Blackbaud.Web.Core.Controls.Menu.BBMenu.OnItemClick(MenuItemClickEventArgs e) +36
   Blackbaud.Web.Core.Controls.Menu.BBMenu.RaisePostBackEvent(String eventArgument) +38
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   Blackbaud.Web.Core.Forms.BBWebForm.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +88
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Download and install the latest version and patch, if applicable. 

Environment

 7.84.52.0002
 7.85

Was this article helpful?