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

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Kleber Silva
    Kleber Silva avatar
    4 posts
    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?

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    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