En un cliente tengo Contrataciones, Movimientos, REtiros, Cambios de jornada Tiempos no trabajados que no tienen ninguna ejecución.

De 67 Tiempos no trabajados operados 9 tienen este problema (13%) Al ver el log para un caso específico da el siguiente error: System.Data.OptimisticConcurrencyException: Store update, insert, or delete statement affected an unexpected number of rows (0). Entities may have been modified or deleted since entities were loaded. Refresh ObjectStateManager entries. at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter) at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options) at Aseinfo.VH4.Data.AppDataContext.SaveChanges(SaveOptions options) at Aseinfo.Infrastructure.Base.Entity.GenericEntityRepository.SaveChanges() at Aseinfo.Infrastructure.Base.Entity.EntityServiceBase`2.SaveChanges() at Aseinfo.VH4

En el skydrive está el log del día de hoy:

https://c2gzow.bn1.livefilestore.com/y2p8l1MDjRDqlVoEf-TvIdWv71-BC4luiL-txrW6W9RZqjx9jj5fLmFs3mhpZ6bfRmBItzeaj6TNRCMFUXjBDR2mvlRQrjq0yzhYN3MmVEKWJU/AppJobWinService_20130704.log?download&psid=1

asked 04 Jul '13, 21:36

Juan%20Carlos%20Soria's gravatar image

Juan Carlos Soria
1.1k171179185
accept rate: 41%

Juan Carlos, ¿se arregló el problema con esta solución?

(09 Jul '13, 16:27) sabanito ♦♦ sabanito's gravatar image

El problema se da porque la configuración del Unity de AppJobWinService y del WorkflowService hasta la versión 1.7.1.0 tienen mal configurado los contextos de acceso a base de datos y esto ocasiona que en algunos casos límites, den este tipo de errores.

Hay que cambiar la configuración de los mismos de:

<lifetime type="perThread" />

por

<lifetime type="perContainer" />
link

answered 05 Jul '13, 15:13

sabanito's gravatar image

sabanito ♦♦
(suspended)
accept rate: 54%

Se corrigió con esta solución. Gracias.

(09 Jul '13, 18:38) Juan Carlos Soria Juan%20Carlos%20Soria'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:

×19
×5

Asked: 04 Jul '13, 21:36

Seen: 3,836 times

Last updated: 09 Jul '13, 18:38

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