Search code examples
comindesign-server

InDesign server COM error


I am using InDesign server on windows. And developing application using Microsoft .Net web platform (ASP.NET).

I am generating Indd file using ImportXML() method provided by InDesign. I am getting following error randomly (sometimes more often):

System.Runtime.InteropServices.COMException (0x0000FFFF): Exception from HRESULT: 0x0000FFFF

   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)

   at InDesignServer.Document.ImportXML(String From)

There is no more information provided by InDesign about where it fails so am blocked there.

Can anyone help here. Thanks.


Solution

  • After a long time. But, I became active again on 'Stack'. This was the error due to in-appropriate permission in DCOM config. See steps below to check: 1. From the Start menu, click Run and type Dcomcnfg.exe 2. Select 'Computers' 3. Select 'My Computers' 4. DCOM Config 5. Find InDesign COM component and select properties 6. In this set appropriate security and identity.

    COM exceptions are always vague, hard to answer by anyone!