+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / "This type of page not served" error for entire subtree of pages

"This type of page not served" error for entire subtree of pages

5 posts, 0 answered
  1. David
    David avatar
    3 posts
    Registered:
    15 Sep 2010
    03 Jun 2011
    Link to this post
    This error suddenly started occurring.  If one is logged into the sitefinity backend there is no problem, but this happens for users who are not logged in and just wish to view the live site.  

    anyone have any suggestions?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    03 Jun 2011
    Link to this post
    Hi Jaime ,

    It looks like you have set a permission that doesn't allow anonymous users to view your pages. This is why when you are logged in you can see them. Can you set the permissions set for you pages?

    All the best,
    Ivan Dimitrov
    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. David
    David avatar
    3 posts
    Registered:
    15 Sep 2010
    03 Jun 2011
    Link to this post
    this is only for one subtree of pages.  How would I go about setting the permissions? for that?  is it done on a per-node basis?  Is it the PageNode.Permissions collection?
  4. David
    David avatar
    3 posts
    Registered:
    15 Sep 2010
    03 Jun 2011
    Link to this post
    these nodes were generated (duplicated) using code.  I quickly and messily adapted some code i saw in another post.  I'm on sitefinity 4.0 sp1. 

                    var mgr = App.WorkWith().Page(pn.Id);



                            mgr.Duplicate().Do(

                                p =>

                                {

                                    p.ShowInNavigation = true;

                                    p.Parent = parentPage;

                                    p.Page.Template = myTemplate;

                                }).SaveChanges();



    Also I've cycled through the PageNode.Permissions list and see that all properties are identical to the properties of the PageNode I've duplicated.
  5. Ruben
    Ruben avatar
    10 posts
    Registered:
    02 May 2011
    20 Jul 2011
    Link to this post
    We seem to have the same error. It started suddenly on one particular page. Not on a tree of pages, because its subpages are accessible. One page is inaccessible, and throws a 500 error.

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/bugs-issues/500-error-on-a-page-that-has-sufficient-permissions.aspx
5 posts, 0 answered