More in this section

Forums / General Discussions / Unable to upload masterpage

Unable to upload masterpage

2 posts, 1 answered
  1. Viktoriya
    Viktoriya avatar
    20 posts
    29 Jul 2010
    06 Aug 2010
    Link to this post

    We are using Sitefinity 3.7.2022.5 and we seem to be unable to upload master pages.

    We create the master pages in Visual Studio and are able to upload them via ftp, but they don't appear within sitefinity templates.

    When we try to upload them through Sitefinity it throws an error with Access to the path denied.

    Any idea why this is happening?
  2. Richard Baugh
    Richard Baugh avatar
    201 posts
    22 Aug 2012
    06 Aug 2010
    Link to this post
    When we have uploaded a master page via FTP, we have had to restart the site in order for the master page to show up under the templates section. To restart the site, you can alter your web.config, add a character to your web.config file save it then delete the character and save it again. This will force the site to recompile itself as it feels that a change has been made. If you have access to IIS and can recycle the application pool, then this would be another way to get the site to recompile and Sitefinity should then pick up on the new master page. The template name will be the name of the master page. You can always change the name in Sitefinity.

    As to the error you are getting when trying to upload the master page through Sitefinity, it sounds like the permissions are not set correctly on the App_Master folder. You need to make sure that either the ASPNET user or NetworkService user, most common users, have full control over the folder. The user can be found in IIS as it is the Identity that IIS is using when running the site.
2 posts, 1 answered