New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Fix Object reference not set to an instance of an object at Telerik.Web.SkinRegistrar.GetAppSetting error

Environment

Product Telerik UI for ASP.NET AJAX

Description

The System.NullReferenceException error can be encountered by developers when dealing with the Telerik.Web.UI library.

The detailed error message is:

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Web.UI
  StackTrace:
   at Telerik.Web.SkinRegistrar.GetAppSetting(String name, Page page)

This error indicates that there's a null object that the code is attempting to access. Since the source of this error is pointing to Telerik.Web.UI, it's often related to configurations or missing references.

Solution

To address the System.NullReferenceException error in Telerik.Web.UI, follow the steps below:

In this article