Try Now
More in this section

Forums / Developing with Sitefinity / Where in database is the Page Layout html stored?

Where in database is the Page Layout html stored?

2 posts, 0 answered
  1. Jonathan
    Jonathan avatar
    1 posts
    18 Aug 2015
    09 Sep 2015
    Link to this post

    I'm getting "object reference not set to instance" when I try to edit a custom Page Layout (Design > Page Templates).  It's based on a template located in the file system ResourcePackages > Bootstrap > MVC > Views > Layouts.

    We're in the middle of a "fire drill" getting the site ready for our client, so I don't want to jack something up by republishing. I've deleted temporary files on IIS (Azure) and restarted the app, but no joy.

    I was hoping to find the html in the database somewhere to back it up before repushing dlls, but I can't locate the table in the db.

    Does anybody know offhand where that html is stored in the db?  At this point I'm opening up every table to peek.


    Sitefinity v8.1.5 on Azure

  2. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    17 Oct 2016
    14 Sep 2015
    Link to this post
    Hi Jonathan,

    The main Page templates table is 'sf_page_templates' but managing the database manually is not supported.

    From other hand in case you reproduce the issue locally, can you provide the error, logged under ~/App_Data/Sitefinity/Logs after reproducing the issue. Please remove the files in that folder in advance for easy reference.
    How to get the error log from Sitefinity deployment to Azure could be found here.

    Svetoslav Manchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered