Server Error in '/' Application.
The current request for action 'login' on controller type 'AccountController' is ambiguous between the following action methods:
System.Web.Mvc.ActionResult Login(System.String) on type UI.Controllers.AccountController
System.Web.Mvc.ActionResult Login(System.String, System.String) on type UI.Controllers.AccountController
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.AmbiguousMatchException: The current request for action 'login' on controller type 'AccountController' is ambiguous between the following action methods:
System.Web.Mvc.ActionResult Login(System.String) on type UI.Controllers.AccountController
System.Web.Mvc.ActionResult Login(System.String, System.String) on type UI.Controllers.AccountController
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[AmbiguousMatchException: The current request for action 'login' on controller type 'AccountController' is ambiguous between the following action methods:
System.Web.Mvc.ActionResult Login(System.String) on type UI.Controllers.AccountController
System.Web.Mvc.ActionResult Login(System.String, System.String) on type UI.Controllers.AccountController]
System.Web.Mvc.ReflectedControllerDescriptor.FindAction(ControllerContext controllerContext, String actionName) +660397
System.Web.Mvc.ControllerActionInvoker.FindAction(ControllerContext controllerContext, ControllerDescriptor controllerDescriptor, String actionName) +27
System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +148
System.Web.Mvc.Controller.ExecuteCore() +159
System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335
System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375
[свернуть]