Hello All,
Getting the following error when users are attempting to run our AR Invoice Form. The thing is, the report prints and seems to be fine, and the associated BPM has no syntax errors, and has yet to throw an error when running:
Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunTask: BPM runtime caught an unexpected exception of ‘FileNotFoundException’ type.
See more info in the Inner Exception section of Exception Details.
Stack Trace:
at Epicor.Customization.Bpm.DirectiveBase3.Execute(TParam parameters) in C:\_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\DirectiveBase.Generic.cs:line 163 at System.Linq.Enumerable.All[TSource](IEnumerable
1 source, Func2 predicate) at Epicor.Customization.Bpm.CustomizationBase2
3.Execute(TParam parameters) in C:_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\CustomizationBase2.cs:line 73
at Epicor.Customization.Bpm.Standard.MonitoringSessionManager.ProcessCollectedData(IceDataContext db, IRowChangesCollection data, IDirectiveEnabler enabler) in C:_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\Standard\MonitoringSessionManager.cs:line 130
at Epicor.Customization.Bpm.Standard.NestedMonitoringSessionManager.FinalizeSession(String sessionId, IceDataContext db) in C:_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\Standard\NestedMonitoringSessionManager.cs:line 63
at Ice.Lib.RunTask.BpmFriendlyTaskLauncher.Run(String sessionIdPrefix, IceContext db, Action taskRunner) in C:_Releases\ICE\ICE3.2.200.11\Source\Server\Services\Lib\RunTask\BpmFriendlyTaskLauncher.cs:line 63
at Ice.Services.Lib.RunTaskSvc.InnerRunTask(Int64 ipTaskNum, Boolean suppressTransaction) in C:_Releases\ICE\ICE3.2.200.11\Source\Server\Services\Lib\RunTask\RunTask.cs:line 549
Inner Exception:
Could not load file or assembly ‘UpdateTermsCode, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. The system cannot find the file specified.
Stack Trace:
at Epicor.Customization.Bpm.DB4BCBF6D0236E4568BD833D8B3C14235A.PostTranDirective_AY01_AYM_Terms_Code_Update_9D97D4B128E947B8BB4D4024BD2BE41F.A001_CustomCodeAction()
at Epicor.Customization.Bpm.DB4BCBF6D0236E4568BD833D8B3C14235A.PostTranDirective_AY01_AYM_Terms_Code_Update_9D97D4B128E947B8BB4D4024BD2BE41F.ExecuteCore()
at Epicor.Customization.Bpm.DirectiveBase`3.Execute(TParam parameters) in C:_Releases\ICE\ICE3.2.200.11\Source\Server\Internal\Lib\Epicor.Customization.BPM\DirectiveBase.Generic.cs:line 147
Some context on the BPM - it calls a custom dll that has been placed in \OurAppServer\wwwroot\E10Prod\Server\Customization\Externals in the InvcHead Standard Data Directive. All dependencies/references, to the best of my ability, were placed in that folder also. There are no errors when checking the syntax in the BPM. The dlls called in the executable are:
Epicor.Ice.Version
Epicor.ServiceModel
Erp.Contracts.BO.ARInvoice
Ice.Core.Session
Ice.Lib.EpiClientLib
Any help would be much appreciated.
Thanks,
Blake