========================================================================================================================================= DateTime: 28/02/2022 12:59:59 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:00:00 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:00:00 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:00:48 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:00:48 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:00:48 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:01:56 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:01:57 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:01:57 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:04:23 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:04:23 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:04:23 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:44:41 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:44:41 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 01:44:42 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 02:54:02 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 02:54:02 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 02:54:03 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 02:55:29 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 02:55:29 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 02:55:29 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:06:33 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:06:33 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:06:33 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:07:06 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:07:06 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:07:06 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:08:10 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:08:10 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:08:11 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:16:47 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) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 385 at VPNET.Data.Model.Manager.PrestamosEntidades_Manager..ctor(PrestamosEntidades entidad, VisualPlenarioNetContext contexto) in E:\WS-JMAIDANA\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:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\Prestamos\Prestamos_Creditos_Manager.cs:line 1039 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:16:47 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN ----------------------------------------------------------------------------------------------------------------------------------------- Error: Object reference not set to an instance of an object. ----------------------------------------------------------------------------------------------------------------------------------------- ClassVisualPlenarioNET at ClassVisualPlenarioNET.VPNET_Common_BL.clsParametros.Save() in E:\WS-JMAIDANA\Release\v14\VisualPlenarioNET\ClassVisualPlenarioNET\VPNET\Common_BL\clsParametros.vb:line 667 ========================================================================================================================================= ========================================================================================================================================= DateTime: 28/02/2022 05:16:47 p.m. User: WIN-N967O1ARKIN$ ComputerName: WIN-N967O1ARKIN Sistema: [WIN-N967O1ARKIN\SQLEXPRESS/PlenarioNET_Findo_QA] ----------------------------------------------------------------------------------------------------------------------------------------- Error: The operation failed: The relationship could not be changed because one or more of the foreign-key properties is non-nullable. When a change is made to a relationship, the related foreign-key property is set to a null value. If the foreign-key does not support null values, a new relationship must be defined, the foreign-key property must be assigned another non-null value, or the unrelated object must be deleted. ----------------------------------------------------------------------------------------------------------------------------------------- EntityFramework at System.Data.Entity.Core.Objects.ObjectContext.PrepareToSaveChanges(SaveOptions options) at System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) at System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options) at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at VPNET.Data.Model.Manager.Base_Manager`3.Save(Boolean IsTobjEntity) in E:\WS-JMAIDANA\Release\v14\VPNET_DataModel\Manager\Gestion\BASE\Base_Manager.cs:line 770 =========================================================================================================================================