Buena tarde compañeros,

les comento que tengo el siguiente inconveniente:

System.InvalidOperationException: [EvaluacionDesempenio/EvaluacionDesempenio/EditarFodaGet] can only be accessed via Ajax requests
   at Aseinfo.Infrastructure.Base.Web.AjaxOnlyAttribute.OnActionExecuting(ActionExecutingContext filterContext) in C:\work\a3e0cbded2a6d4b3\Infrastructure\Base\Web\AjaxOnlyAttribute.cs:line 31
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.InvokeActionMethodFilterAsynchronouslyRecursive(Int32 filterIndex)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__31(AsyncCallback asyncCallback, Object asyncState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)
   at System.Web.Mvc.Async.AsyncResultWrapper.Begin[TResult](AsyncCallback callback, Object state, BeginInvokeDelegate beginDelegate, EndInvokeDelegate`1 endDelegate, Object tag, Int32 timeout)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState)

Este error da al momento de finalizar la parte de competencias dentro de la evaluación, al oprimir el botón guardar, se pone la pantalla en gris y al darle siguiente automáticamente lo manda al inicio y solicita nuevamente usuario y contraseña al ingresarlas, sale el mensaje de error mostrado.

Agradeceré si me pudieran indicar porque es ese inconveniente.

asked 14 Jun '17, 12:56

jdelcid's gravatar image

jdelcid
(suspended)
accept rate: 16%

edited 19 Jun '17, 11:22

sbarahona's gravatar image

sbarahona ♦♦
(suspended)

¿Qué versión de Evolution estas usando?

¿No habrá un CustomView para el formulario de registro de la Evaluación?

(21 Jun '17, 14:55) Fernando Paz ♦♦ Fernando%20Paz's gravatar image

Realmente el error no tiene nada que ver tu problema.

Cuando se pierde la sesión, te redirecciona al login y luego a la página ejecutada cuando se perdió la sesión. Como la página que inició todo, solo se puede acceder via Ajax, se muestra el error que copiaste en la pregunta (porque no es un request completo a una página)

Entonces, olvida el error que reportaste y concentrate en lo que sucede antes de que te envíe a la página de inicio de sesión.

Para diagnosticar el problema, revisa el ELMAH para ver si hay algún error logeado, o usando las herramientas de desarrollador del navegador (F12), asegurate que no existan errores Javascript al cargar la página. Además serviria que identifiques el REQUEST enviado por la página al momento de dar click en el botón y anlizes los parámetros que lleva y el RESPOND que se obtiene del servidor.

link

answered 21 Jun '17, 14:59

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
accept rate: 51%

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:

×51

Asked: 14 Jun '17, 12:56

Seen: 533 times

Last updated: 21 Jun '17, 14:59

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