The step failed: Activity Run Package on Master-Controller failed with error 'The remote script failed with exit code 255'

Hey everyone!

I’m getting this error and I have no idea why. Can anyone help?

Unhandled Exception: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
September 14th 2017 08:29:09Error
at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType)
September 14th 2017 08:29:09Error
at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType)
September 14th 2017 08:29:09Error
at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj)
September 14th 2017 08:29:09Error
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
September 14th 2017 08:29:09Error
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
September 14th 2017 08:29:09Error
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
September 14th 2017 08:29:09Error
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
September 14th 2017 08:29:09Error
at System.Activator.CreateInstance(Type type)
September 14th 2017 08:29:09Error
at se_builder.PIM_Bicycle.Main(String[] args) in C:\Repository\QA - Automation\UnitTestProject\PIM_Bicycle.cs:line 25
September 14th 2017 08:29:09Fatal
The remote script failed with exit code 255
September 14th 2017 08:29:09Fatal
Run Package on Master-Controller

Thanks,

Zachery Hughes

Alright I figured out the problem!

In order to allow your tentacle to use Excel, you need to allow the network to run Excel. This is done by:

  1. right clicking EXCEL.exe located in C:\Program Files (x86)\Microsoft Office\Office14
  2. select properties
  3. select the security tab
  4. Click Edit… then add
  5. in the “Enter the object names to select” type in: network service
  6. click check names and then ok
  7. toggle the name you just added and under permissions for SYSTEM check Full Control

Done

Hi Zach,

Thanks for getting in touch and for letting us know that you resolved the issue!

Let us know if there is anything else we can assist with,

Happy Deploying!

Alex