web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error when run MRP for more than 100 item Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Win32Exception: Not enough storage is available to complete this operation

(1) ShareShare
ReportReport
Posted on by 44

Hi Team,

Hope you doing well.

we here we have a problem in running MRP. Now we have around 2,500 Items in the AX that the MRP should be run for them and calculate the planned orders based on the Item coverage and demand forecast setup. At the time of running MRP for whole Items, we will get a CLR error exception in the Class “ReqCalc”, method
“covCalcItem()”, line number  114, for around 1,500 Items. This is the text example of this error:

 

Info        Master scheduling\Item number: 6260008900236\Dimension No.: IDIM000000071               System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Win32Exception: Not enough storage is available to complete this operation

   at System.Diagnostics.Eventing.EventProvider.EtwRegister()

   at System.Diagnostics.Eventing.EventProvider..ctor(Guid providerGuid)

   at Microsoft.Dynamics.Tracing.Microsoft_DynamicsAX_Tracing..ctor()

   at Microsoft.Dynamics.AX.Planning.JobScheduling.JobSchedulingEngineInteropFactory.SetupLogger(ConfigurationService configuration)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at Microsoft.Dynamics.AX.ManagedInterop.ClrBridgeImpl.InvokeClrStaticMethod(ClrBridgeImpl* , Char* pszClassName, Char* pszMethodName, Char* assemblyName, Int32 argsLength, ObjectWrapper** arguments, Boolean* argsAreByRef, Boolean* isException)

Warning               Master scheduling\Item number: 6260008900236\Dimension No.: IDIM000000071                Coverage planning of item 6260008900236 has been canceled.

 

The point is that when we run MRP for just one Item from the error list, we will not face any error. So, we have tried to run MRP for small Item groups, gradually. We have divided Items to five groups with a different number of members, and run MRP for each group separately. But again we face the same error for groups with more than 100 members.

Here you can see the MRP setup in the below screenshots. Also, please note that now we have seven different Coverage groups that five of them are manual, and for the remain two Coverage group, the setup is same

5857.1.jpg

12032.2.jpg

1512.3.jpg

4857.4.jpg

2474.5.jpg

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans