Que tal compañeros,

Estoy teniendo inconveniente al querer cambiar el password, ya sea cuando le doy que el usuario cambie el password al iniciar sesión o cuando lo hago desde la opicion mi cuenta, el error que me sale es el siguiente:

System.InvalidCastException: Specified cast is not valid.
at Aseinfo.Infrastructure.Services.MetadataService.GetValorParametro[T](String codigoParametro) in C:\vh4\Infrastructure\Services\Metadata\MetadataService.cs:line 1219
at Aseinfo.VH4.UI.Web.Controllers.AccountController.ObtienePoliticasPassword() in C:\vh4\VH4\UI\Web\Controllers\AccountController.cs:line 1187
at Aseinfo.VH4.UI.Web.Controllers.AccountController.CambiarClave(String id, String msg) in C:\vh4\VH4\UI\Web\Controllers\AccountController.cs:line 460
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

asked 27 May '19, 11:26

Josue%20Mancilla's gravatar image

Josue Mancilla
(suspended)
accept rate: 42%


Pareciera ser que algunos parámetros de infraestructura no están bien definidos.

Los parámetros que deberías considerar son:

  • PoliticaPasswordNumeroMinusculas
  • PoliticaPasswordNumeroCaracteresNumericos
  • PoliticaPasswordNumeroSimbolos
  • PoliticaPasswordNumeroMayusculas
  • PoliticaPasswordLargoMinimo

Todos los anteriores deben ser de tipo entero

link

answered 27 May '19, 11:50

cgalan's gravatar image

cgalan ♦♦
(suspended)
accept rate: 75%

Gracias, los valores de los parámetros estaban bien, el inconveniente era en el tipo de dato que tenía definido el parámetro.

(27 May '19, 12:03) Josue Mancilla Josue%20Mancilla's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×11
×1
×1

Asked: 27 May '19, 11:26

Seen: 421 times

Last updated: 27 May '19, 12:03

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática