========================================================================================================================================= DateTime: 1/2/2024 11:33:26 User: SERVIDOR$ ComputerName: SERVIDOR Sistema: [SERVIDOR/PlenarioNET_Corvalan_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: Attaching an entity of type 'VPNET.Data.Model.PrestamosEntidades' failed because another entity of the same type already has the same primary key value. This can happen when using the 'Attach' method or setting the state of an entity to 'Unchanged' or 'Modified' if any entities in the graph have conflicting key values. This may be because some entities are new and have not yet received database-generated key values. In this case use the 'Add' method or the 'Added' entity state to track the graph and then set the state of non-new entities to 'Unchanged' or 'Modified' as appropriate. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework en System.Data.Entity.Core.Objects.ObjectContext.VerifyRootForAdd(Boolean doAttach, String entitySetName, IEntityWrapper wrappedEntity, EntityEntry existingEntry, EntitySet& entitySet, Boolean& isNoOperation) en System.Data.Entity.Core.Objects.ObjectContext.AttachTo(String entitySetName, Object entity) en System.Data.Entity.Internal.Linq.InternalSet`1.<>c__DisplayClass16_0.b__0() en System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName) en System.Data.Entity.Internal.Linq.InternalSet`1.Attach(Object entity) en System.Data.Entity.DbSet`1.Attach(TEntity entity) en VPNET.Data.Model.Manager.Base_Manager`3..ctor(T EntytiModel, Int32 id_User, Boolean IsNew, VisualPlenarioNetContext _vpnetContext, Boolean ProxyCreationEnabled, Boolean Instantiate_Model, Boolean _SaveGlobalContext) en G:\WS_Chaco\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:línea 444 en VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) en G:\WS_Chaco\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\PrestamosEntidades_Manager.cs:línea 12 en VPNET.Data.Model.Manager.Prestamos_Creditos_Manager.Libro_Iva_Otorgamiento_Tipo1(DateTime dFecha, Int32 IntIdAsiento, GestionComprobantes objIvaVentas) en G:\WS_Chaco\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:línea 771 ========================================================================================================================================= ========================================================================================================================================= DateTime: 1/2/2024 11:33:26 User: SERVIDOR$ ComputerName: SERVIDOR Sistema: [SERVIDOR/PlenarioNET_Corvalan_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: Referencia a objeto no establecida como instancia de un objeto. ----------------------------------------------------------------------------------------------------------------------------------------- VPNET_WCF en VPNET_WCF.PlenarioServices.GenerarOrdenDePagoOtorgamientoCredito(Int32 id_credito, Int32 Id_Banco, Boolean liquidarOP, VisualPlenarioNetContext _vpnetcontext, SqlConnection _TransactionHandleConnection, SqlTransaction _Transaction) en G:\WS_Chaco\VisualPlenarioNET\Release\v14\VPNET_WCF\VPNET_WCF\Servicios\Prestamos\PrestamosSolicitudes.cs:línea 1292 en VPNET_WCF.PlenarioServices.ProcesarSolicitud(Prestamos_SolicitudesModel SolicitudModel, String boolGenerarCredito, String boolOtorgarCredito, String boolGenerarOrdenPago, String boolLiquidarOrdenPago, String Id_Banco, String updateWithModel, String IsWorkFlow, Boolean beginTransaction, Func`9 actionafterGenerarOrdenPago) en G:\WS_Chaco\VisualPlenarioNET\Release\v14\VPNET_WCF\VPNET_WCF\Servicios\Prestamos\PrestamosSolicitudes.cs:línea 1235 en VPNET_WCF.PlenarioServices.<>c__DisplayClass87_0.b__0(OperationResultV2`1 result) en G:\WS_Chaco\VisualPlenarioNET\Release\v14\VPNET_WCF\VPNET_WCF\Servicios\Prestamos\PrestamosSolicitudes.cs:línea 212 en VPNET_WCF.Controllers.OperationResultV2`1.ExecuteHash(String hash, Func`2 action, Boolean evaluateHash, Boolean _clearceferenceLoopHandling, JsonSerializerSettings jsonserializerSettings) en G:\WS_Chaco\VisualPlenarioNET\Release\v14\VPNET_WCF\VPNET_WCF\Controller\OperationResult.cs:línea 106 =========================================================================================================================================