Copy link to clipboard
Copied
i want to excute code C# indesign. But there is a warning.:
Additional information: Unable to cast COM object of type 'System.__ComObject' to interface type 'InDesign.Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{ABD4CBB2-0CFE-11D1-801D-0060B03C02E4}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
this is warning picture :
Copy link to clipboard
Copied
Moving to InDesign SDK forum
Copy link to clipboard
Copied
Seems an issue with the CLSID of the Indesign installation. try by deleting the InDesign tlb file for the latest InDesign version installed on your machine. Relaunch InDesign after tlb deletion, this will create a new version of the updated tlb file, this should hopefully resolve the problem.
-Manan