Error: Server Error in '/FAWeb7' Application

The following error displays when selecing Enter Grades by Class or clicking on the classes on the homepage:

Server Error in '/FAWeb7' Application.


Type mismatch

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.Runtime.InteropServices.COMException: Type mismatch

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: 


[COMException (0x800a000d): Type mismatch]
   Blackbaud.PIA.EA7.EAGradeBookData7.cEAGradeBookRowsClass.Init(IBBSessionContext& oSessionContext, Int32 lFacultyID, Int32 lClassID, Int32 lMCID, Int32 lSessionID, eEAGradebookAssignmentSortFields eSrtKey, Boolean bShowAllAssignments, String sAssignStartDate, String sAssignEndDate, Boolean bShowDroppedGrades) +0
   Blackbaud.Web.FE.FAWEB.GradeBook.CreateGradebookCOM(BBWebForm oHostpage, cEAGradeBookRows oGradebookRows, FAWebUserControl meForm, FAWebForm oFAWebForm, IBBGradeBookRowsEx oGradebookEx, FAWebUser oCurrentUser, Int32 iSortValue, Int32 iEA7AcademicYearsID, Int32 iEA7SessionsID, Int32 iClassID, Int32 iEA7MarkingColumnsID, Boolean bAllowRecalc, Boolean bUsePreviousMCAndClassIds, Boolean bShowAllAssignments, eEAGradebookAssignmentSortFields assignmentSortOrder, String startDate, String endDate, Boolean bClearCommentsCache, GBMarkingColumnsClassDDs& cClassDDs, Hashtable& oPKIDCache, Int32[]& iStudentFieldPositions, StudentComments& oStudComments, Label& lblPostingStatus, LinkButton& btnPostGrades, HtmlInputHidden& txtHiddenPostStatus, Boolean& bPosted, Boolean bUsePreviousSortType, Boolean bStudentView, Int32 iStudentID, Boolean bAlertsRequestView) +919
   Blackbaud.Web.FE.FAWEB.GradeBook.CreateCOMDataSource(Boolean bClearCommentsCache, Boolean bUsePrefsFromViewState) +1010
   Blackbaud.Web.FE.FAWEB.GradeBook.Page_Load(Object sender, EventArgs e) +1453
   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.FAWebShell.LoadCurrentControl() +348
   Blackbaud.Web.FE.FAWEB.FAWebShell.myMenuId_ItemClick(Object sender, MenuItemClickEventArgs e) +123
   Blackbaud.Web.FE.FAWEB.FAWebMenu.FAWebMenu_ItemClick(Object sender, MenuItemClickEventArgs e) +50
   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
Contact Support and reference this article. 

Alternative Solution:

Assign a different teacher to the class

Environment

 Version 7.86

Was this article helpful?