Been having an issue where MRP runs, but immediately completes right after.
Looking at the logs, i’m getting an “invalid username or password” error. I’ve tried the suggestions in the many KB articles (KB0039354, KB0028844) in the EpicCare site, but none seem to be fixing the issue I have.
It seems to be cancelling at subprocess step:
12:35:34 ------------------------------------------------------------
12:35:34 Starting sub-processes
12:35:34 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.UnauthorizedAccessException: Invalid username or password.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.31\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 734
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.31\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 679
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.31\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 658
at Ice.Proxy.Lib.RunTaskImpl.RunSubTask(String subTaskAssemblyName, List`1 taskParameters) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\Lib\RunTask\RunTaskProxy.cs:line 43
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Ice.Hosting.RunTaskHelper.RunSubTask(ImplBase runTaskImpl, String subTaskAssemblyName, List`1 taskParameters) in C:\_releases\ICE\ICE4.2.200.31\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\RunTaskHelper.cs:line 42
at Ice.Hosting.SubTaskLauncher.CallTaskInternal(String sysUserId, String sysUserPassword, String subTaskAssemblyName, List`1 parameters, TimeSpan operationTimeout) in C:\_releases\ICE\ICE4.2.200.31\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\SubTaskLauncher.cs:line 66
at Ice.Hosting.SubTaskLauncher.CallTask(String sysUserId, String sysUserPassword, String subTaskAssemblyName, List`1 parameters) in C:\_releases\ICE\ICE4.2.200.31\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\SubTaskLauncher.cs:line 39
at Erp.Internal.MR.MrpExp.startMRPParallelTasks(List`1 parameters, String processCode, String userID, String password, SubTaskLauncher subTaskLauncher) in C:\_releases\ERP\ERP11.2.200.31\Source\Server\Internal\MR\MrpExp\MrpExp.cs:line 2811
12:35:34 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.UnauthorizedAccessException: Invalid username or password.
at Ice.Cloud.ProxyBase`1.CallWithCommunicationFailureRetry(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, RestRpcValueSerializer serializer) in C:\_releases\ICE\ICE4.2.200.31\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 734
at Ice.Cloud.ProxyBase`1.CallWithMultistepBpmHandling(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.31\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 679
at Ice.Cloud.ProxyBase`1.Call(String methodName, ProxyValuesIn valuesIn, ProxyValuesOut valuesOut, Boolean useSparseCopy) in C:\_releases\ICE\ICE4.2.200.31\Source\Shared\Framework\Epicor.ServiceModel\Cloud\ProxyBase.cs:line 658
at Ice.Proxy.Lib.RunTaskImpl.RunSubTask(String subTaskAssemblyName, List`1 taskParameters) in C:\_releases\ICE\ICE4.2.200.0\Source\Shared\Contracts\Lib\RunTask\RunTaskProxy.cs:line 43
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Ice.Hosting.RunTaskHelper.RunSubTask(ImplBase runTaskImpl, String subTaskAssemblyName, List`1 taskParameters) in C:\_releases\ICE\ICE4.2.200.31\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\RunTaskHelper.cs:line 42
at Ice.Hosting.SubTaskLauncher.CallTaskInternal(String sysUserId, String sysUserPassword, String subTaskAssemblyName, List`1 parameters, TimeSpan operationTimeout) in C:\_releases\ICE\ICE4.2.200.31\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\SubTaskLauncher.cs:line 66
at Ice.Hosting.SubTaskLauncher.CallTask(String sysUserId, String sysUserPassword, String subTaskAssemblyName, List`1 parameters) in C:\_releases\ICE\ICE4.2.200.31\Source\Server\Framework\Epicor.Ice\Hosting\TaskCaller\SubTaskLauncher.cs:line 39
at Erp.Internal.MR.MrpExp.startMRPParallelTasks(List`1 parameters, String processCode, String userID, String password, SubTaskLauncher subTaskLauncher) in C:\_releases\ERP\ERP11.2.200.31\Source\Server\Internal\MR\MrpExp\MrpExp.cs:line 2807
12:35:35 Scheduling Jobs...
12:35:35 Erp.Internal.MR.MRPCancelledException: Cancelling from MrpExp mrp
at Erp.Internal.MR.MrpExp.mrp(Boolean p_net, String p_plist, Nullable`1 p_cutoff, String p_reqtype, Nullable`1 MRP_DEBUG_ON, String ipPartList, String ipPartClassList, String ipProdGrupList, List`1 ttMrpProcRows, List`1 ttMrpQueueRows) in C:\_releases\ERP\ERP11.2.200.31\Source\Server\Internal\MR\MrpExp\MrpExp.cs:line 2348
at Erp.Internal.MR.MrpExp.main_block(List`1 ttMrpProcRows, List`1 ttMrpQueueRows) in C:\_releases\ERP\ERP11.2.200.31\Source\Server\Internal\MR\MrpExp\MrpExp.cs:line 1866
at Erp.Internal.MR.MrpExp.RunProcess(Int64 instanceTaskNum, String outputFileName) in C:\_releases\ERP\ERP11.2.200.31\Source\Server\Internal\MR\MrpExp\MrpExp.cs:line 823