Continuing from Why do I get this 404 error?
it is strange to me that once I click the link to visit AdminLogin Page, it directs me to the login page instead (AdminLogin and Login pages are different in my case). The URL later becomes
http://localhost:1390/Account/Login?ReturnUrl=%2fAccount%2fAdminLogin
I thought it should be http://localhost:1390/Account/AdminLogin
If your AdminLogin action method is ‘closed off’ with an [Authorize] attribute, no user will be able to login.
Make this Action Method available to any user.