Problem:
When open LMS global features the following error appears(screenshot attached):
Object reference not set to an instance of an object. - Windows Internet Explorer E E
Vl http1Hsv-sharepoint:TTTT3‘(.3dm\m‘lrn5Q‘u‘reature5.a5pf ,0 ‘l ‘V? A object reference not Set tom xl I ti,
I I
Server Error In / Application.
Object reference not set to an instance of an object.
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.NuIIReferenceException: Object reference not set to an instance of an object.
Source Error:
[No relevant source lines]
Source File: c:'¢!\Jindows'I!~:1icrosoft.NET'IFramework84'Lv2.U.5U?2?'I.Temporary ASPNET FiIes'Iroot'Iz4ff?c8dU'Ib5Ubfdo5L&pp_Web_fi5axydv.21 .cs Line: U
Stack Trace:
[NullRef‘erenceExcept1'on: Object reference not set to an instance of an object.]
System.Web.UI.TemplateControl.SetStringResourcePofnter(Object strfngResourcePointer, Int32 maxResourceOffset) +24
ASP._controltemplates_lms2_contentdatabasesectfon_ascx.Frameworklnftialize() in c:\W1'ndows\M1'crosoft.NET\Framework64\v2.0.50?2?\Temporary ASP.NET Ff1es\root\4f‘f‘?c6dCI\b5obf‘dO5\App_Web_f‘i5axydv.21.cs:0
System.Web.UI.UserControl .In1't1'al1'zeAsUserControl (Page page) +54
Elearnfngf‘orce.SharePofnt.LMS.AppHcation.Controltemplates.ContentDatabaseSectfon. .ctor() +25
ASP._controltemplates_lms2_contentdatabasesection_ascx..ctor() in c:\W1'ndows\M1'crosoft.NET\Framework64\v2.0.50?2?\Temporary ASP.NET Ff1es\root\4f‘f‘?c6dCI\b5obf‘dO5\App_Web_f‘i5axydv.21.cs:0
ASP._adm1'n_lms2_f‘eatures_aspx._Buf1dControlDatabase() in c:\Program F1'les\Corrmon F1'les\M1'crosof‘t Shared\Web Server Extensfons\14\TEMPLATE\ADMIN\lms2\f‘eatures.aspx:145
ASP._adm1'n_lms2_f‘eatures_aspx._Bui1dControlContent4(Control _ctrl) in c:\Program F1'les\Corrmon F1'les\M1'crosof‘t Shared\Web Server Extensfons\14\TEMPLATE\ADMIN\lms2\f‘eatures.aspx:46
ASP._adm1'n_admin_master._BufldcontrolPlaceHolderMafn() in c:\Program F1'les\Corrmon F1'les\M1'crosof‘t Shared\Web Server Extensfons\14\TEMPLATE\ADMIN\admin.master:595
ASP._adm1'n_admfn_master._BufldControl_control21() in c:\Program F1'les\Corrmon F1'les\M1'crosof‘t Shared\Web Server Extensfons\14\TEMPLATE\ADMIN\admin.master:36
ASP._adm1'n_admfn_master._BuildControl_control2() in c:\Program F1'les\Corrmon F1'les\M1'crosof‘t Shared\Web Server Extensfons\14\TEMPLATE\ADMIN\admin.master:1O
ASP._adm1'n_admin_master._BuildCcJntrcJlTree(_admin_admin_master _ctrl) in c:\PrcJgram F1'les\CcJrrrnon F1'les\M1'croscJft Shared\Web Server Extensions\14\TEMPLATE\ADMIN\admin.master:1
ASP._adm1'n_admin_master.Frameworklnitializeo in c:\‘N1'ndows\Microsoft.NET\Framework64\v2.0.50?2?\TempcJrary ASP.NET F1'les\rc1c1t\4ff?c6dO\b5obfdO5\App_web_o68shtvj.4.cs:O
System.web.UI.MasterPage.CreateMaster(Templatecontrol owner, Httpcontext context, V1'rtualPath masterPageF1'le, ID1'ct1'cJnary cc1ntentTemplatecollectionj +1304
System.web.UI.Page.get_Master() +68
System.Web.UI.Page.ApplyMasterPage() +1?
System.Web.UI.Page.PerfcJrmPreInit() +5?
System.web.UI.Page.Prc1cessRequestMain(BcJcJlean 1'ncludeStagesBefcJreAsyncPcJint, Boolean 1'ncludeStagesAfterAsyncPcJint) +1255
Version Information: Microsoft NET Framework Version:2.U.50?2?.5458; ASPNET Version:2.U
Solution:
It is a rare compilation bug of ASP.NET and IIS. The bug occurs becasue ASP.NET wrongly compiled LMS solution.
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
and delete all folders and files there.
After this is done, refresh the central administartion page (note that the first time compilation lasts for about 5 minutes).
Comments
Article is closed for comments.