Hello Gurus. I'm having a problem with my orchestration suspending. I have searched the web high and low for answers but I haven't been able to resolve. I have an expression near the end of my orchestration where I access a file path using System.Configuration.ConfigurationSettings.AppSettings. The orchestration has been running fine until today when I got a suspended message. The error is below:
Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'XXXX'.The service instance will remain suspended until administratively resumed or terminated. If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.InstanceId: Shape name: RunFileShapeId: Exception thrown from: segment 2, progress 9Inner exception: Access to the path '\\XXXX\' is denied
When I open the message parts, I can see the Originator Security ID is incorrect. It is using a user network account that is disabled. I am not quite sure how and why it is using this account, the Host Instance is using a domain account and shouldn't this account be used as the Originator Security ID for all messages??
Thanks for your help.
I finally found a solution that worked for me.
Need to enable sharing on the folder you are trying to access in the path used in the expression or script. Give the Administrator account and domain account sharing rights. In addition, use the full computer name in all of the UNC paths (i.e., \\computername.domain.com\sharedfoldername\) instead of the admin shares (\\domain\d$\sharedfoldername\).
Did you find out why it was using that old account though? I'm having a similar issue - have a ghost account I'm seeing in the Originator SID.