MRP hanging but NOT running finite scheduling

We are migrating to E10 and our E10 Pilot (Vanilla) environment hangs when running MRP. From the “Process MRP” screen we are unchecking finite scheduling and checking to ignore constraint material and to run multi-level pegging.

Normally (on our E9 install) the MRP process completes within 15 minutes. However, it ran over four hours without completing before the user reporting the issue cancelled it. When I ran MRP to see if I could reproduce what the user saw, after an hour or so I noticed that in the System Monitor the “Activity” seemed to be stuck on "Next job to schedule: ". The job number is not changing. (Yes, it seems strange to me that its saying it’s scheduling a job when finite scheduling if not enabled.)

Do you have logging turned on when you run MRP? The logs should show you where it stopped and there could be an issue with a Part, Job or BOM.

Logging wasn’t on. I turned on logging and started MRP in our Test environment, waiting a bit, then downloaded the log, and it appears that there is some kind of permissions issue - but it also shows a different activity: “Next Part to process:.”

The last four messages including errors are:

Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunSubTask: User Account is not set to ‘Allow Session Impersonation’
Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunSubTask: User Account is not set to ‘Allow Session Impersonation’
Scheduling Jobs…
Building Non-Part List

I’m going to cancel MRP in Pilot and re-run it with the log and see what it says there.

I see the same error message in E10 Pilot, and I’m not sure why I am getting this error because when I look at my account in User Account Maintenance under the Options tab and the “Background Task Permission” sub-pane, “Allow Session Impersonation” is checked.
I’m going to mark this thread as closed. The logging has helped me see where the problem is, the problem itself is a new issue. Thanks for your help!

we are having similar issues in v10.1.500.46 just out of the blue. Our MRP thread logs say “waiting for next part” and the Scheduler threads say “waiting for next job” over and over again and MRP never finishes. What was the ultimate root cause in your case?

Did anyone find a fix for this?
Our MRP Engine is saying this and refusing to process.

Blockquote
11:43:00 Done Scheduling job:MRP00000000033 sending job to queue SaveLoad
11:46:33 System.FormatException: String was not recognized as a valid Boolean.
at System.Boolean.Parse(String value)
at Erp.Internal.MR.MRPLib.GetJobQueue(Int64 pTaskNum, String pName, String pProcessor, Int32 pNum, String pMsg, String& pJobNum, String& pPlant, String& pPartNum, String& pType, Int32& pPriFactor, Nullable1& pReqDate, Int32& pReqTime, Int32& pLevel, Boolean& pMethod, Decimal& pSeq, Boolean& pSchedDir, Boolean& pFirm, Boolean& pReNum, Boolean& pSched, String& pStatus, Int32& pSubLLC) in C:\_Releases\ERP\RL10.2.500.0\Source\Server\Internal\MR\MRPLib\MRPLib.cs:line 1834 at Erp.Internal.MR.MrpExpSched.main_block(Int64 instance_TaskNum, Boolean netchg, String IP_plantList, Nullable1 cutoff_date, Boolean from_autopur, String logfile, Int32 loglevel, Int32 logtype, Boolean finiteLoad, Boolean ignoreConst, Boolean allowHistDate, Boolean usePrepTime, Boolean useKitTime, Boolean runPegging, Boolean runConPur, Nullable1 Sched_startDate, String ShipViaDefault, String compBuyerID, Int32 ForeDaysB, Int32 ForeDaysA, String v_defaultSchedCode, String extComp, String PlantSelected, String plantprefixlist, String pReqType, Int32 processNum, String purDir, Boolean whatif, String procSource, Decimal GSStartTime, Boolean delaySched, Boolean recyclejobs, Boolean rcSchedGetDetails, Boolean includePCParts, Boolean useQuoteBOM, Boolean multiJob, Boolean multiJobIgnoreLocks, Boolean multiJobMinimizeWIP) in C:\_Releases\ERP\UD10.2.500.27\Source\Server\Internal\MR\MrpExpSched\MrpExpSched.cs:line 3443 at Erp.Internal.MR.MrpExpSched.RunMrpExpSched(Int64 instance_TaskNum, Boolean netchg, String IP_plantList, Nullable1 cutoff_date, Boolean from_autopur, String logfile, Int32 loglevel, Int32 logtype, Boolean finiteLoad, Boolean ignoreConst, Boolean allowHistDate, Boolean usePrepTime, Boolean useKitTime, Boolean runPegging, Boolean runConPur, Nullable1 Sched_startDate, String ShipViaDefault, String compBuyerID, Int32 ForeDaysB, Int32 ForeDaysA, String v_defaultSchedCode, String extComp, String PlantSelected, String plantprefixlist, String pReqType, Int32 processNum, String purDir, Boolean whatif, String procSource, Decimal GSStartTime, Boolean delaySched, Boolean recyclejobs, Boolean rcSchedGetDetails, Boolean includePCParts, Boolean useQuoteBOM, Boolean multiJob, Boolean multiJobIgnoreLocks, Boolean multiJobMinimizeWIP) in C:\_Releases\ERP\UD10.2.500.27\Source\Server\Internal\MR\MrpExpSched\MrpExpSched.cs:line 1069 at Erp.Internal.MR.MrpExpSched.RunSubProcess(List1 Parameters) in C:_Releases\ERP\UD10.2.500.27\Source\Server\Internal\MR\MrpExpSched\MrpExpSched.cs:line 746

Blockquote