Error launching Inventor 2020 from scheduled task

Error launching Inventor 2020 from scheduled task

cstaley
Participant Participant
504 Views
1 Reply
Message 1 of 2

Error launching Inventor 2020 from scheduled task

cstaley
Participant
Participant

I have a custom tool that runs on the Windows task scheduler and launches Inventor to perform processes on a set of models and drawings retrieved from Vault.  The tool work perfectly when launched manually, or even from Task Scheduler as long as a user is logged in.

Any time the task is triggered after I close my remote connection to the server (Windows 10), Inventor fails to launch with the following error...

Retrieving the COM class factory for component with CLSID {B6B5DC40-96E3-11D2-B774-0060B0F159EF} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))

 

This tool was running with Inventor 2019 before it was ported to 2020.  The settings of the scheduled task have remained as they were in the previous version.

 

0 Likes
505 Views
1 Reply
Reply (1)
Message 2 of 2

adam.nagy
Autodesk Support
Autodesk Support

You say everything worked with Inventor 2019, but could you please double-check that the service is set to be UserInteractive?

See https://forums.autodesk.com/t5/inventor-customization/issue-with-autodesk-inventor-api/m-p/6068391



Adam Nagy
Autodesk Platform Services
0 Likes