I am trying to test a sample web page, but keep getting this error
Server Error in '/ABC_Inc' Application.
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: /ABC_Inc/login.aspx
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456
Check your web.conf. I think in authentication section LoginUrl is set to login.aspx and this form too needs to be authenticated first before being accessed.
I think you login page resides under: ABC_Inc/Security/FormAuthenticate/Login.aspx. Go to web.conf and
in web.conf set the valid path of loginUrl in authentication section to above path.
Marked as answer by Dino He - MSFT on May 09, 2012 10:22 AM
flashman
Member
19 Points
23 Posts
Runtime looking for page in wrong location
May 02, 2012 03:03 PM|LINK
Hello,
I am trying to test a sample web page, but keep getting this error
Server Error in '/ABC_Inc' Application.
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: /ABC_Inc/login.aspx
Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5456
The page it is supposed to be loading is
http://localhost:51459/ABC_Inc/login.aspx?ReturnUrl=%2fABC_Inc%2fSecurity%2fFormAuthenticate%2fLogin.aspx
What gives?
As always, any help is greatly appreciated!
Tom
mishra.bhupe...
Participant
1594 Points
376 Posts
Re: Runtime looking for page in wrong location
May 03, 2012 05:35 AM|LINK
Check your web.conf. I think in authentication section LoginUrl is set to login.aspx and this form too needs to be authenticated first before being accessed.
I think you login page resides under: ABC_Inc/Security/FormAuthenticate/Login.aspx. Go to web.conf and
in web.conf set the valid path of loginUrl in authentication section to above path.