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

Forums / General Discussions / customErrors redirect

customErrors redirect

6 posts, 0 answered
  1. Kristian
    Kristian avatar
    214 posts
    Registered:
    03 Jun 2010
    17 Sep 2010
    Link to this post
    I have setup my web.config like this and created the corresponding pages

    <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
      <error statusCode="403" redirect="NoAccess.htm" />
      <error statusCode="404" redirect="FileNotFound.htm" />
    </customErrors>

    but when i try to access a page that has permission restrictions on it and i am not logged it, i get redirected to the 404 page, i would expect the NoAccess page to appear.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    17 Sep 2010
    Link to this post
    Hello Kristian,

    Thank you for using our services.

    This is a known issue with applying view permissions and anonymous access. The page is restricted to certain users, however the property to deny anonymous access is not set which produces the 404 error. We have this issue logged for fixing.


    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Kristian
    Kristian avatar
    214 posts
    Registered:
    03 Jun 2010
    19 Nov 2010
    Link to this post
    I was hoping to see this in the RC so I could test it, it looks like it still always goes to 404?
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 Nov 2010
    Link to this post
    Hi Kristian,

    We will implement this in one of the next builds. The team was focused on Localization and Workflow and we did not manage to include requested implementation in the RC.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Kristian
    Kristian avatar
    214 posts
    Registered:
    03 Jun 2010
    19 Nov 2010
    Link to this post
    Ah Ok, just wondering, I love the way localization works by the way :)
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    19 Nov 2010
    Link to this post
    Hi Kristian,

    Yes it is very cool. In 3.x translating of the embedded resources is very heavy procedure.  If you have translated a language for 4.0, you can put it on marketplace.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
6 posts, 0 answered