========================================================================================================================================= DateTime: 28/12/2022 12:42:16 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_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 at System.Data.Entity.Core.Objects.ObjectContext.VerifyRootForAdd(Boolean doAttach, String entitySetName, IEntityWrapper wrappedEntity, EntityEntry existingEntry, EntitySet& entitySet, Boolean& isNoOperation) at System.Data.Entity.Core.Objects.ObjectContext.AttachTo(String entitySetName, Object entity) at System.Data.Entity.Internal.Linq.InternalSet`1.<>c__DisplayClass16_0.b__0() at System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName) at System.Data.Entity.Internal.Linq.InternalSet`1.Attach(Object entity) at System.Data.Entity.DbSet`1.Attach(TEntity entity) at VPNET.Data.Model.Manager.Base_Manager`3..ctor(T EntytiModel, Int32 id_User, Boolean IsNew, VisualPlenarioNetContext _vpnetContext, Boolean ProxyCreationEnabled, Boolean Instantiate_Model, Boolean KillSleepingCoonectioSQL) in E:\PLENARIO-118\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 412 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\PLENARIO-118\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\PrestamosEntidades_Manager.cs:line 12 at VPNET.Data.Model.Manager.Prestamos_Creditos_Manager.Libro_Iva_Otorgamiento_Tipo1(DateTime dFecha, Int32 IntIdAsiento, GestionComprobantes objIvaVentas) in E:\PLENARIO-118\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1040 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/12/2022 04:04:21 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The field CodigoPostal_Lab must be a string or array type with a maximum length of '5'. ----------------------------------------------------------------------------------------------------------------------------------------- VPNET.Data.Model at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\PLENARIO-118\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 768 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/12/2022 04:04:21 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: Lo sentimos,no se pudo generar el crédito en este momento. Intentelo de nuevo más tarde.. Se ha producido un error: :The field CodigoPostal_Lab must be a string or array type with a maximum length of '5'. ----------------------------------------------------------------------------------------------------------------------------------------- ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/12/2022 05:43:54 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_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 at System.Data.Entity.Core.Objects.ObjectContext.VerifyRootForAdd(Boolean doAttach, String entitySetName, IEntityWrapper wrappedEntity, EntityEntry existingEntry, EntitySet& entitySet, Boolean& isNoOperation) at System.Data.Entity.Core.Objects.ObjectContext.AttachTo(String entitySetName, Object entity) at System.Data.Entity.Internal.Linq.InternalSet`1.<>c__DisplayClass16_0.b__0() at System.Data.Entity.Internal.Linq.InternalSet`1.ActOnSet(Action action, EntityState newState, Object entity, String methodName) at System.Data.Entity.Internal.Linq.InternalSet`1.Attach(Object entity) at System.Data.Entity.DbSet`1.Attach(TEntity entity) at VPNET.Data.Model.Manager.Base_Manager`3..ctor(T EntytiModel, Int32 id_User, Boolean IsNew, VisualPlenarioNetContext _vpnetContext, Boolean ProxyCreationEnabled, Boolean Instantiate_Model, Boolean KillSleepingCoonectioSQL) in E:\PLENARIO-118\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 412 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\PLENARIO-118\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\PrestamosEntidades_Manager.cs:line 12 at VPNET.Data.Model.Manager.Prestamos_Creditos_Manager.Libro_Iva_Otorgamiento_Tipo1(DateTime dFecha, Int32 IntIdAsiento, GestionComprobantes objIvaVentas) in E:\PLENARIO-118\VisualPlenarioNET\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1040 =========================================================================================================================================