Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 21, 2013 01:21 AM by metase_jl
Member
91 Points
120 Posts
Feb 16, 2013 12:38 AM|LINK
i'm trying to enable a page but rather than using physical name i have a route defined, yet it doesn't seem to display that page unless logged in (physical one does work)
<location path="cookiesandprivacy"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>
with "cookiesandprivacy" being a route name defined in globl file
All-Star
42876 Points
7015 Posts
MVP
Feb 16, 2013 03:58 PM|LINK
Hello,
metase_jl with "cookiesandprivacy" being a route name defined in globl file
Try the real name of the file (Physical filename)
Please 'Mark as Answer' if this post helps you.
Feb 16, 2013 05:00 PM|LINK
it won't have it. It works if i type the physical nane into address bar but it wont route it
Feb 21, 2013 01:21 AM|LINK
it appears that for the route to work it needs to be defined in site web.config file
metase_jl
Member
91 Points
120 Posts
add route name to web.config file
Feb 16, 2013 12:38 AM|LINK
i'm trying to enable a page but rather than using physical name i have a route defined, yet it doesn't seem to display that page unless logged in (physical one does work)
<location path="cookiesandprivacy"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>with "cookiesandprivacy" being a route name defined in globl file
Ruchira
All-Star
42876 Points
7015 Posts
MVP
Re: add route name to web.config file
Feb 16, 2013 03:58 PM|LINK
Hello,
Try the real name of the file (Physical filename)
My Tech blog | TwitterPlease 'Mark as Answer' if this post helps you.metase_jl
Member
91 Points
120 Posts
Re: add route name to web.config file
Feb 16, 2013 05:00 PM|LINK
it won't have it. It works if i type the physical nane into address bar but it wont route it
metase_jl
Member
91 Points
120 Posts
Re: add route name to web.config file
Feb 21, 2013 01:21 AM|LINK
it appears that for the route to work it needs to be defined in site web.config file