Skip to main content
Question

While release batch it gives error Cannot mark the record as updated because another record with the same key exists in the cache. Contact your Acumatica support provider for the assistance.

  • October 20, 2024
  • 2 replies
  • 117 views

Forum|alt.badge.img

 

Trace:-
CommonServiceLocator.ActivationException

Activation error occurred while trying to get instance of type IDacDescriptorProvider, key ""

   at PX.Data.PXFirstChanceExceptionLogger.ProfilerFirstChanceException(Object o, FirstChanceExceptionEventArgs args)
   at CommonServiceLocator.ServiceLocatorImplBase.GetInstance(Type serviceType, String key)
   at CommonServiceLocator.ServiceLocatorImplBase.GetInstance[TService]()
   at PX.Common.ServiceLocatorExtensions.TryGetInstance[TService](IServiceLocator serviceLocator, String key, TService& service)
   at PX.Data.PXGraph.GetDacDescriptor(IBqlTable dac, DacDescriptorCreationOptions customDescriptorCreationOptions)
   at PX.Data.DacDescriptorUtils.GetNonEmptyDacDescriptor(PXGraph graph, IBqlTable dac, DacDescriptorCreationOptions dacDescriptorCreationOptions)
   at PX.Data.DacDescriptorUtils.GetNonEmptyDacDescriptor(PXGraph graph, Object row, DacDescriptorCreationOptions dacDescriptorCreationOptions)
   at PX.Data.DacDescriptorUtils.GetDacDescriptorText(PXGraph graph, Object row, String defaultValue, DacDescriptorCreationOptions dacDescriptorCreationOptions)
   at PX.Data.GraphHelper.MarkUpdated(PXCache cache, Object row, Boolean assertError)
   at PX.Data.PXLineNbrAttribute.RowInserted(PXCache sender, PXRowInsertedEventArgs e)
   at PX.Data.PXCache.AttributeHandlersSquasher`1.<>c__DisplayClass2_0`1.<To>b__0(PXCache cache, TArgs args)
   at PX.Data.PXCache.OnRowInserted(Object item, Object pending, Boolean externalCall)
   at PX.Data.PXCache`1.Insert(Object data, Boolean bypassinterceptor)
   at PX.Data.PXSelectBase`1.Insert(Table item)


Also we get1 more trace

Autofac.Core.Registration.ComponentNotRegisteredException 

The requested service 'PX.Data.DacDescriptorGeneration.IDacDescriptorProvider' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.

 

2 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 632 replies
  • October 21, 2024

@hyadav08 It’d be helpful to see the release code.

 

Also, I think you should create a support case for this here: https://portal.acumatica.com/(W(1))/Main?ScreenId=SP203004


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2754 replies
  • December 24, 2024

Hi ​@hyadav08 were you able to find a solution? Thank you!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings