Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
2 Points
4 Posts
Apr 01, 2012 03:34 AM|LINK
Finally I found the the Answer.
It seems there is a bug in MVC3 look at the link
http://stackoverflow.com/questions/7238369/being-redirected-to-wrong-loginurl-account-login-instead-of-account-logon
http://www.asp.net/whitepapers/mvc3-release-notes#0.1__Toc274034230
I just need to add
<appSettings> <add key="webpages:Enabled" value="true"/> <add key="loginUrl" value="Login/UsedCarlogIn.aspx" />
</appSettings>
And the login works fine now.
Thought this might help some one with the same problem
usedcar
Member
2 Points
4 Posts
Re: Login Url on framework 4.0 not working
Apr 01, 2012 03:34 AM|LINK
Finally I found the the Answer.
It seems there is a bug in MVC3 look at the link
http://stackoverflow.com/questions/7238369/being-redirected-to-wrong-loginurl-account-login-instead-of-account-logon
http://www.asp.net/whitepapers/mvc3-release-notes#0.1__Toc274034230
I just need to add
<appSettings>
<add key="webpages:Enabled" value="true"/>
<add key="loginUrl" value="Login/UsedCarlogIn.aspx" />
</appSettings>
And the login works fine now.
Thought this might help some one with the same problem