Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /classifiedspak/Account/Login
Mark My Post As An Answer If It Worked !
Please Visit : www.classifiedspak.com
UPDATE: oh i see what you mean why not just make the file structure "Account/Login" and put your userLogin.aspx file in there anyways and be done w/ it?
Please post your code for us to help!!
Mark Answered if it helps - Good luck!
Cheers!
Design And Align - Rob
shan000
Member
491 Points
446 Posts
unable to send to loginurl from web.config
Apr 27, 2012 12:06 PM|LINK
Hi
im unable to add authorization in we.config but it donot take to login page. user is the folder specified in location
following is the markup :
<system.web>Please Visit : www.classifiedspak.com
praseTech
Member
198 Points
51 Posts
Re: unable to send to loginurl from web.config
Apr 27, 2012 12:48 PM|LINK
Hello,
Can you please eloborate more on what you are trying to achive?
Ruchira
All-Star
44392 Points
7194 Posts
MVP
Re: unable to send to loginurl from web.config
Apr 27, 2012 01:42 PM|LINK
Hello,
Remove the above line, so it will look like below
<location path="user"> <system.web> <authorization> <deny users="?"/> </authorization> </system.web> </location>Now it will allow access only to authorized users.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.shan000
Member
491 Points
446 Posts
Re: unable to send to loginurl from web.config
Apr 27, 2012 05:43 PM|LINK
Thanks it worked.
but it is going to this undefined path and showing error :
/appname/Account/Login
although i have defined loginurl as
how should i set it?
Please Visit : www.classifiedspak.com
Ruchira
All-Star
44392 Points
7194 Posts
MVP
Re: unable to send to loginurl from web.config
Apr 27, 2012 05:54 PM|LINK
Hi,
What's that path and what's the error you are getting?
Try by giving the relative path to userLogin.aspx. If the userLogin.aspx is in the root folder, your web.config should look like below
Otherwise, please specify the correct directory names preceding the login aspx page and give the correct relative path.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.shan000
Member
491 Points
446 Posts
Re: unable to send to loginurl from web.config
Apr 27, 2012 05:58 PM|LINK
i have tried this one also :
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /classifiedspak/Account/Login
Please Visit : www.classifiedspak.com
Ruchira
All-Star
44392 Points
7194 Posts
MVP
Re: unable to send to loginurl from web.config
Apr 27, 2012 06:04 PM|LINK
Check the below links. It seems like a bug.
http://forums.asp.net/t/1678471.aspx/1
http://forums.asp.net/t/1786016.aspx/1
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.robwscott
Star
8079 Points
1491 Posts
Re: unable to send to loginurl from web.config
Apr 27, 2012 06:11 PM|LINK
is Login a folder? if it is:
if not:
UPDATE: oh i see what you mean why not just make the file structure "Account/Login" and put your userLogin.aspx file in there anyways and be done w/ it?
Mark Answered if it helps - Good luck!
Cheers!
Design And Align
- Rob