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

Daniel J. Summers daniel.summers.2415 at gmail.com
Mon Feb 28 16:23:18 EST 2011


On Mon, Feb 28, 2011 at 7:17 AM, hjf1223 <hjf1223 at gmail.com> wrote:

> 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
>

Can you post your controller definition, and how you've got the form
designed?  I've been doing some work with MVC 3, though just in VS2010 for
now; however, it will eventually run in Mono.

-- 
*Daniel J. Summers*
*Owner, DJS Consulting*
E-mail <daniel.summers.2415 at gmail.com> • Website <http://djs-consulting.com>
 • Support <http://support.djs-consulting.com> • Tech
Blog<http://techblog.djs-consulting.com>

GEEKCODE 3.12 GCS/IT d s-:+ a C++ P--- L++ E--- W++ N++ o? K- w !O M--
V PS+ PE++ Y? PGP- t+ 5? X+ R* tv b+ DI++ D+ G- e<++ h---- r+++ y++++
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20110228/73942909/attachment.html 


More information about the Mono-aspnet-list mailing list