Al ingresar una solicitud de reclamo de seguro médico, si se pone una observacion mayor a 100 caracteres el sistema da error sin dar un mensaje comprensible al usuario:
"System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details.
The statement has been terminated.
en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
en System.Data.SqlClient.SqlDataReader.get_MetaData()
en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource
1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
en System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func
3 operation, TInterceptionContext interceptionContext, Action3 executing, Action
3 executed)
en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary2 identifierValues, List
1 generatedValues)
en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
--- Fin del seguimiento de la pila de la excepción interna ---
en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransactionT
en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
en Aseinfo.VH4.Data.AppDataContext.SaveChanges(SaveOptions options) en C:VH4VH4DataAppDataContext.cs:línea 98
en Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.SaveChanges() en C:\work\a3e0cbded2a6d4b3\Infrastructure\Base\Entity\EntityServiceBase.cs:línea 562
en Aseinfo.Infrastructure.Base.Entity.EntityServiceBase
2.DoInsert(T entity, Boolean saveChanges, Boolean bypassWorkflowInitialization) en C:worka3e0cbded2a6d4b3InfrastructureBaseEntityEntityServiceBase.cs:línea 893
en Aseinfo.VH4.Expedientes.Controllers.ReclamoSeguroMedicoController.SaveReclamoSeguroMedico(ReclamoSeguroMedico entity, Boolean inserting, Nullable1 iniciaFlujo, String codigoAlternativo, Nullable
1 codigoEmpleo, Nullable1 codigoSeguroMedico, Nullable
1 codigoFamiliar, Nullable1 codigoTipoReclamo, String codigoMoneda, Nullable
1 codigoCuenta, Boolean esFamiliar, Nullable1 codigoBeneficiario, List
1 listadoConceptos, Boolean esPortal) en C:worka3e0cbded2a6d4b3VH4ExpedientesControllersReclamoSeguroMedicoController.cs:línea 918
en Aseinfo.VH4.Expedientes.Controllers.ReclamoSeguroMedicoController.CrearReclamoPost(ReclamoSeguroMedico entity, Nullable1 iniciaFlujo, String codigoAlternativoExpediente, Nullable
1 codigoEmpleo, Nullable1 codigoSeguroMedico, Nullable
1 codigoFamiliar, Nullable1 codigoTipoReclamo, String codigoMoneda, Nullable
1 codigoCuenta, Boolean esFamiliar, Nullable1 codigoBeneficiario, List
1 listadoConceptos, Boolean esPortal) en C:worka3e0cbded2a6d4b3VH4ExpedientesControllersReclamoSeguroMedicoController.cs:línea 1336
en lambda_method(Closure , ControllerBase , Object[] )
en System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters)
en System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary
2 parameters)
en System.Web.Mvc.Async.AsyncControllerActionInvoker.<begininvokesynchronousactionmethod>b39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
en System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
en System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<invokeactionmethodfilterasynchronouslyrecursive>b3d()
en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f()
en System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
en System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<>cDisplayClass2b.<begininvokeaction>b1c()
en System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<begininvokeaction>b__1e(IAsyncResult asyncResult)"
EL campo en la base de datos campo (rem_observaciones) solo admite 100 caracteres.
asked
03 Jul '17, 10:42
Sandy
(suspended)
accept rate:
16%