When using InventorServer job terminates with "class not registered"

When Inventor Server is used to open a document the job terminates with the error "Class not registered"

Issue

When Inventor Server is used to open a document within a powerJobs Processor job the job terminates with the error "class not registered" and shows the following in the log file:

2022-08-23 15:46:50,139 [Pipeline Execution Thread] WARN  powerJobs.Application.Inventor.Exports.DataIoExport - DataIoExport.Execute() | Failed, exception = {System.Runtime.InteropServices.COMException}.
System.Runtime.InteropServices.COMException (0x80004005): Class not registered

   bei System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   bei Inventor.DataIO.WriteDataToFile(String Format, String FileName)
   bei powerJobs.Application.Inventor.Exports.DataIoExport.Execute()

Cause

Sometimes necessary registry keys seem to be missing.

Solution

You can register the necessary keys by installing Inventor View and starting it one time

  • Download Inventor View matching to your Vault version
  • Install Inventor View
  • Start Inventor View

See Also