Symptoms
We are receiving an error when our file export tries to save files to a network folder. Our dll file is being used on several processes where the file works perfectly except on one process called Capital Call. This was our first process to use the dll and we have since updated the dll. The dll file works in DEV for the Capital Call but when we deploy the package to QA and PROD we receive an error. We have removed the reference and activities and then added them back and still no luck in QA or Prod. It only occurs on a particular process. All other process that use the same dll work fine in all 3 environments.
Diagnoses
The issue is arising from the .dlls being in an incorrect directory.
Resolution
After having an online meeting with the user, we placed the .dlls in the hInst DIR]Program Files (x86)K2 BlackpearlBin and nInst DIR]Program Files (x86)K2 BlackpearlHostServerBin.
We also created a Endpoint Assembly service instance to verify that we were able to save the attachments discarding any network related issues.