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?

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. 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
    06 Sep 2017
    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