Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

Opening InDesign programmatically fails

$
0
0

Hi,

 

i'm using the Indesign-Library ("Resources for Visual Basic.tlb") in C#.

 

The following code should programmatically open InDesign, and works fine on one Computer:

InDesign.Application gApp = (InDesign.Application)this.COMCreateObject("InDesign.Application");

 

However on another Computer the exactly same code doesn't open InDesign programmatically, as we get the following error-message:

Die COM-Klassenfactory für die Komponente mit CLSID {18207523-3CEA-4212-A829-14F7F5A3546B} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80080005 Starten des Servers fehlgeschlagen (Ausnahme von HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))

 

That should be the equivalent translated error-message:

Retrieving the COM class factory for component with CLSID {18207523-3CEA-4212-A829-14F7F5A3546B} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).


Viewing all articles
Browse latest Browse all 15932


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>