Entity Validation Failed


Entity Validation Failed

jmssoc

We received the following error four times on one of our three WECs running Supercharger.  Let me know if you need any additional information.

==================================Begin Error==================================
Error - CommandEngineWorker - AuditCommand
Exception thrown while writing audit records for command. Contact support. Version: 21.8.4.0
Message: Entity Validation Failed - errors follow:
Mtg.Supercharger.Core.AuditReference failed validation
- HierarchicalName : The field HierarchicalName must be a string or array type with a maximum length of '100'.

Type: System.Data.Entity.Validation.DbEntityValidationException
Source: Mtg.Supercharger.Core
Target Site: Void Save(System.String)
HResult: -2146233087
HelpLink:
Stack:  at Mtg.Supercharger.Core.SuperchargerRepository.Save(String callerName) in C:\agent\_work\7\s\Mtg.Supercharger.Core\Infrastructure\Db\SuperchargerRepository.cs:line 1202
 at Mtg.Supercharger.Core.CommandEngineWorker.AuditCommand(CommandQueueItem commandQueueItem, ICommand cmd, CommandState commandState, String errorText, DateTimeOffset completedTime) in C:\agent\_work\7\s\Mtg.Supercharger.Core\Controller\CommandEngineWorker.cs:line 364

Inner Exception:
Version: 21.8.4.0
Message: Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
Type: System.Data.Entity.Validation.DbEntityValidationException
Source: EntityFramework
Target Site: Int32 SaveChanges()
HResult: -2146232032
HelpLink:
Stack:  at System.Data.Entity.Internal.InternalContext.SaveChanges()
 at Mtg.Supercharger.Core.SuperchargerRepository.Save(String callerName) in C:\agent\_work\7\s\Mtg.Supercharger.Core\Infrastructure\Db\SuperchargerRepository.cs:line 1184
==================================End Error==================================

Thanks,

Jason
Tamas Lengyel

jmssoc - 8/25/2021
We received the following error four times on one of our three WECs running Supercharger.  Let me know if you need any additional information.

==================================Begin Error==================================
Error - CommandEngineWorker - AuditCommand
Exception thrown while writing audit records for command. Contact support. Version: 21.8.4.0
Message: Entity Validation Failed - errors follow:
Mtg.Supercharger.Core.AuditReference failed validation
- HierarchicalName : The field HierarchicalName must be a string or array type with a maximum length of '100'.

Type: System.Data.Entity.Validation.DbEntityValidationException
Source: Mtg.Supercharger.Core
Target Site: Void Save(System.String)
HResult: -2146233087
HelpLink:
Stack:  at Mtg.Supercharger.Core.SuperchargerRepository.Save(String callerName) in C:\agent\_work\7\s\Mtg.Supercharger.Core\Infrastructure\Db\SuperchargerRepository.cs:line 1202
 at Mtg.Supercharger.Core.CommandEngineWorker.AuditCommand(CommandQueueItem commandQueueItem, ICommand cmd, CommandState commandState, String errorText, DateTimeOffset completedTime) in C:\agent\_work\7\s\Mtg.Supercharger.Core\Controller\CommandEngineWorker.cs:line 364

Inner Exception:
Version: 21.8.4.0
Message: Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
Type: System.Data.Entity.Validation.DbEntityValidationException
Source: EntityFramework
Target Site: Int32 SaveChanges()
HResult: -2146232032
HelpLink:
Stack:  at System.Data.Entity.Internal.InternalContext.SaveChanges()
 at Mtg.Supercharger.Core.SuperchargerRepository.Save(String callerName) in C:\agent\_work\7\s\Mtg.Supercharger.Core\Infrastructure\Db\SuperchargerRepository.cs:line 1184
==================================End Error==================================

Thanks,

Jason

Hi Jason, yes, we'll need some more info. I'll message you privately. Thanks.

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Select a Forum....








LOGbinder Forum


Search