new MVC3 site problem with [Authorize] pages

Discussion in 'Site Programming, Development and Design' started by Marko, Mar 14, 2012.

  1. I'm just upload my new and first mvc3 site on Winhost. Everything goes ok except pages which are for admin eyes only, so they are decorated with [Authorize(Roles = "Admin")] attribute. Even I am logged in with admin credentials and appropriate user group I cannot see this page, getting 404 error (HTTP Error 404.0 - Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.)

    On my dev machine everything works. Since I'm new on Winhost I would like details steps which are required to make this work. Thank you.
     
    Last edited by a moderator: Oct 14, 2015
  2. Please I need to know if this problem was eventually solved as I am facing the same challenge now. Thanks.
     

Share This Page