We installed SPLMS but are getting the "Object reference not set to an instance of an object" error on application

Problem

[NullReferenceException: Object reference not set to an instance of an object.]
Elearningforce.SharePoint.LMS.LMSContext.b(SPWebApplication A_0) +342
Elearningforce.SharePoint.LMS.LMSContext..ctor(HttpContext A_0) +92
Elearningforce.SharePoint.LMS.LMSContext.GetContext(HttpContext httpContext) +165
Elearningforce.SharePoint.LMS.LMSContext.get_Current() +74
Elearningforce.SharePoint.LMS.Application.Controltemplates.CoursesListUpdater.OnLoad(EventArgs e) +153
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

 

Solution

The error message says that lms can't resolve the web application at this address. It's very much likely you haven't configured the alternate access mappings for the web application and/or set up correct bindings for the IIS site.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.