More in this section
Forums / Designing & Styling / App_Data Issue

App_Data Issue

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.
3 posts, 1 answered
  1. yang
    yang avatar
    9 posts
    28 Mar 2011
    29 Sep 2011
    Link to this post
    Hi all,

    I create a new Site with  SF 4.2.
    1,Create a new master and register it  successfully.
    2,Create a new theme and the folder structure.
    3,Create a new page use the master with the theme.

    the problem is  that the page displayed look like not use a theme.
    1, check the pase source , and i find  the page has the correct reference .
    2, click  F12  , the theme  style file  was Forbidden  with  a  403 error.

    i think the App_data folder  is a special folder   only  visited  on the server. so it will be not   download to the client end.

    but the themes have to  drop in the Special  Folder Structure .
    what can i do ?

  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    10 Nov 2016
    30 Sep 2011
    Link to this post
    Hi Yang,

    Thank you for contacting Telerik Support.

    First of all, make sure you registered your theme correctly in the Administration section of Sitefinity. Go to Administration -> Settings -> Advanced -> Appearance -> Frontend Themes (~/App_Data/Sitefinity/WebsiteTemplates/testTheme/App_Themes/original/). The 403 exception may have occurred, because you tried to link directly to resources in the App_Data folder, which is not possible, since this folder has special permissions.
    If that's not it, try renaming your stylesheet to main.css. Sitefinity should load it automatically.
    You could also try to move your theme outside the App_Data file and see if you can load it.

    Let me know whether the proposed solutions help.

    Kind regards,
    Zheyna Peleva
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. yang
    yang avatar
    9 posts
    28 Mar 2011
    08 Oct 2011
    Link to this post
    Thanks for your response, this solution is success.
    the problem is :
    i use the path when i register the theme :

    but the path should be like as :

    and the css link  of   html source  is appearance as bellowing:
    <link href="/Sitefinity/WebsiteTemplates/EloanHomeTemplate/App_Themes/EbrokingRewards/global/upmenu_ie.css" type="text/css" rel="stylesheet" />

    not in the App_Data  ,and work well.

    thanks a lot again.

3 posts, 1 answered