+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Object reference not set to an instance of an object

Object reference not set to an instance of an object

2 posts, 0 answered
  1. Kleber Silva
    Kleber Silva avatar
    4 posts
    Registered:
    02 Feb 2010
    05 Aug 2010
    Link to this post
    Hi guys,

    Yesterday I was doing some tests on my sitefinity-based website and I started to get the exception attached. I did some tests to narrow the problem, and I'm almost pretty sure it's a problem on database, but I have no idea how I can fix that. Do you guys have an idea why I'm getting this exception and how to solve this?

    Thanks,
    Kleber.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    08 Aug 2010
    Link to this post
    Hi Kleber Silva,

    The error is thrown when Cms Provider calls GetTemplates method which returns IList of all templates. You could check whether you have not removed any template from the database. Check sf_CmsPageTemplate table where the ID of the page template is stored.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered