[Mono-aspnet-list] Why the LogOn action does not work correct?

hjf1223 hjf1223 at gmail.com
Mon Feb 28 09:17:46 EST 2011


HI
I have sent some issues about the MVC3 sample site run under Mono at theis
forum, but have not receive any reply. I have create a very simple mvc3 site
with a LogOn page(from the default vs mvc3 project template). All the simple
page works fine except the LogOn page, When I entered the UserName/Password
and click "Log on" to submit the form. It always occurs an error showed at
following.


The parameters dictionary contains an invalid entry for parameter
'returnUrl' for method 'System.Web.Mvc.ActionResult
LogOn(Mvc3Application1.Models.LogOnModel, System.String)' in
'Mvc3Application1.Controllers.AccountController'. The dictionary contains a
value of type 'Mvc3Application1.Models.LogOnModel', but the parameter
requires a value of type 'System.String'.
Parameter name: parameters


-- 
View this message in context: http://mono.1490590.n4.nabble.com/Why-the-LogOn-action-does-not-work-correct-tp3327978p3327978.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list