Problem C# InDesign Server

Hi,
I'm programming in c#, but I've a  problem with sentence: (InDesignServer.Application)(System.Runtime.InteropServices.Marshal.BindToMoniker(configN ame))
The error is {"Sintaxis no válida (Excepción de HRESULT: 0x800401E4 (MK_E_SYNTAX))"} y   ErrorCode -2147221020
If InDesign Server run service mode it doesn't work, but if I run command service, It works.
I start up InDesign Server with parameter -configuration myIDS1 as service mode as command mode.
Thanks
Best Regards

At first check firewall and antivirus setting in your OS environment.
IMHO the next step may be to check user account policy, that IDS use to run as a service.

Similar Messages

  • Getting the default font - possible? (default fonts problem in InDesign Server CS5)

    Is there a way to decide whether a font is used as "default font" for a document?
    Or a simple way to see whether a font is used at all?
    The actual problem is that InDesign server (CS5 ver. 7.0.3.533) returns the "default font" along with all other used fonts, when looping through the document.fonts collection. This becomes a problem when the default font is never used in the document, and is also not present. Then the (name of) the default font may also become meddled by a style that does not even exist for that very font.
    This is indicated as a problem in our application... as a missing font, just as the call to InDesign server reports back. But the font (with that style) doesn't even exist.
    Running the same script on an desktop InDesign CS5 (ver 7.0.4) the unused default font of the same document is not returned at all.
    Thanks,
    Andreas

    To get the default font, just check:
    app.activeDocument.textDefaults.appliedFont
    Obviously this didn't solve the problem, since InDesign server has made up a font name that is reported as missing... and it's not equal to the default font. So there is some lack of logic in my previous description.

  • Problem with InDesign server - Server slows down fast

    My javascript code iterates the pages of the InDesign Document and searches for the text frames with some special character style.
    I found some samples from Jongware :
    sourcelist = app.activeDocument.findText()
    and
    sourcelist = app.activeDocument.pages[p].textFrames[f].findText();
    if I use the first variant the memory goes to ca. 1.2GB (the server has 4GB), the search is completed in ca. 2 minutes but InDesign Server works incredibly slow.
    The problem is I have to find a page for each text found.
    If I use second variant the memory goes high slowly and so each iteration needs more time.
    After 300th page InDesign Server needs up to 30-40 seconds to process the page.
    (First pages are processed 3-4 per second)
    I tried several possible implementations, like
    for each page
         var actualPage = pages[i]
         for each frame
              var actualFrame = frames[i]
              var sourceList = searchText(actualFrame)
                   parseText(sourceList)
    or
    var actualPage=null,  actualFrame = null, sourceList = null;
    for each page
         actualPage = pages[i]
         for each frame
              actualFrame = frames[i]
              sourceList = searchText(actualFrame)
                   parseText(sourceList)
    I've tried functions with local variables. Nothing changes.
    Processing of the first 50 pages is really fast, but the test document has 630 pages.
    And I have no ideas how to make InDesign continue to work fast.
    Have someone had similar problem? Any ideas?

    To clarify my comment on pages:
    JavaScript objects referencing a native InDesign object have an internal representation for their "address" in the DOM, a textual form (similar to an XPath) is available via toSpecifier(). The specifier starts at the document and then follows collections (e.g. pages) and collection accessors (e.g. itemByID()) to finally reach the same object.
    You can see that the specifier of the document before and after the close/open roundtrip changes in CS5 or later (different document ID), where CS4 used a different specifier form (itemByName() for the document) . The renumbered document ID renders previous references to the same page invalid - see the isValid property. If you want to revive such a stale object reference across close/open, you can remember the page ID and use your reopened document's myDoc.pages.itemByID() method to get to the same object.
    Regarding your other performance problem: print the output of the ExtendScript helper function "$.summary()" before and after the code sequence in question, or compute the differences. You may want to precede that with two explicit calls for the garbage collection "$.gc()" - yes, double invokation seems to be more thorough. Sometimes you find memory leaks that way, for example caused by the javascript "closure" design pattern (all those "Workspace" objects).
    Dirk

  • Problem with InDesign Server CS5

    Hi all,
    when i run from prompt (of Windows Server 2008) the command "InDesign Server.com -port 18383" the system respond "Adobe InDesign Server is not properly licensed and will now quit", until some days ago the InDesign Server work perfecly. What i do for that issue ? I try to run cthe command "InDesignServer.com -serilanumber xxxxxx" and the command "InDesignServer.exe -serilanumber xxxxxxx" but doesn't work (the system says me the same think "Adobe InDesign Server is not properly licensed etc etc"). What can i do ?
    Thank you in advance
    Luca

    If you are using CS6, you need to link the installation to an Adobe ID. The simplest way to do that is input the Adobe ID while you install, but you can use the tools (I forget off hand what they are called) to do that afterwards.

  • Problem-Starting InDesign Server for use with CORBA / Java and IOR file not generated

    I'm trying to start Indesign Server cs3 for use with Corba, as per the document the server should generate the start-up message like this..
    InDesignServer -iorfile c:\ior.txt -pluginpath Server\Corba
    [server] Writing IOR to ... and it should generate the IOR file
    but I'm getting the usual start-up message and the IOR file is not generated, I hope IOR file is required for Java component interaction with IDS, kindly help me to solve this.
    Thanks in advance.

    [From Susan Doan, who is having trouble posting to the forum today}:
    It looks like the example command line in the "Intro to InDesign Server" pdf is using curly quotes instead of straight quotes. If you copy the command from the pdf and paste it in your command shell, it won't work because of the curly quotes.
    You can run the command without the quotes as Rich has said, but, as will all command lines, if your path contains a space, you will need to put quotes (straight ones!) around the path.
    Thanks,
    Ole

  • InDesign Server 5.5 Missing Links

    I'm getting missing link errors in the log when InDesign Server opens files. The missing links reported are for xml files and snippets. Opening the document and looking in the links pallette shows no missing links. I tried using AppleScript to see if I could access these links but they are not there. I can find the links if I open the document in a text editor so I know they are actually there but I cannot seem to find a way to get rid of them. Any suggestions would be great. Thanks.
    Has any one else seen this problem?
    Is there some way to "clean" the file? ( I already tried doing a save as on the files. )

    I encounter the same problem with InDesign Server CS6: I get warning messages about missing snippets. This does not prevent to generate PDF's successfully (with madeToPrint server), but I would like to understand…
    Any idea?

  • [IDS Win]How to flush Indesign server.

    Hi All,
    I am using Indesign server to create documents which contains text, images & tables. My job is to create & export documents to pdf. Document are sometimes contains 300 plus pages. And cs2 server process this jobs one after the other in queue ..may be 100 jobs in a queue. Here after certain amount of time a 'out of memory' error comes up and Indesign server gets crashed(its around after processing 30-40 jobs).
    I have taken care to delete all allocated meomary in my program through New- delete pair. Still after each job allocated memory to Indesign keeps increasing.
    Is there any way so that I can purge memory from Indesign after my job complition? I tried to use 'PurgeMemory' over IDocumentList but its not that effective.
    Any suggestions are most welcommed!
    Thanks,
    Rahul.

    Well, it's been two years since the last activity in this thread, and I am having this exact same problem with InDesign Server CS4.
    I have a .NET web application that calls the IDS through SOAP and simply tells it to run a JavaScript.  In simple terms, the script opens an InDesign file, imports some XML, makes some minor formatting changes, and exports the PDF to the filesystem.  The .NET webapp then receives the status message and redirects the user directly to the finished PDF which they can then view/save/etc.
    This all works perfectly, but while it's running, I see the memory usage of InDesignServer.exe spike by several MB, and then it settles back down to a still-higher-than-initial value. Eventually, the InDesignServer.exe is taking up several hundred MB and my server starts giving out-of-memory errors.
    I'm not sure what I'm doing wrong. Like the original poster asked, it appears as though I should be flushing something that I am not. I've researched this "ErrorList" that was referenced, and my memory "leak" seems to be bigger than this (although I could be wrong), but I can't find anything in the language reference on how to programmatically flush this after each document. I'm not even sure if this is the culprit.
    Can anybody help? Many many thanks in advance
    The contents of my JavaScript is as follows (and you'll see that I'm closing the document each time):
    // We encapsulate the meat of the code in a main() function and then call main() at
    // the bottom of the script in order to facilitate proper returns
    // see http://ericwillis.wordpress.com/2008/04/18/return-value-from-indesign-server-script-via-so ap/
    function main()
         // Our script requires a school code to be passed in as an argument
         // We begin by assuming that it hasn't been passed
         var message='Error: schoolCode parameter required';
         // if the argument HAS been passed...
         if(app.scriptArgs.isDefined('schoolCode'))
              // We change our return message and proceed with processing
               message='Success: No problems reported';
              // This is our work folder
              var projectPath='/E/mywebsite/';
              // this is our starting template
              var doc = app.open(File(projectPath + 'source/Template.indd'));
              // the template has been "tagged" with XML placeholders, so here we are
              // importing the data to replace them. The filename of the XML is
              // dependent on the school code that was passed as an argument
              doc.importXML(File(projectPath + 'work/' + app.scriptArgs.getValue('schoolCode') + '.xml'));
              // The next portion of the script scans the entire document for overset
              // text (text that flows outside of it's container). If any is found, it changes
              // the text colour to red so that the author knows that they overtyped
              //Create a color.
              try{
                   doc.colors.item("Red").name;
              catch (myError)
                   doc.colors.add({name:"Red", model:ColorModel.process, colorValue:[20, 100, 80, 10]});
              // loop through each "story"
              for(x=0;x<=doc.stories.length-1;x++)
                   // if the current story has overset text...
                   if(doc.stories.item(x).overflows)
                        // change the text colour to our previously created colour
                        doc.stories.item(x).fillColor = doc.colors.item("Red");
                        // Change the message too so that we know on the server side
                        // that there's a problem
                        message='Warning: Contains overset text';
                   // We couldn't find a way to use styles to place an outside border
                   // around a variable-width & length table that we're creating
                   // dynamically in the XML. To solve this, the following loop finds all
                  // of the tables in the document and places a border around their
                  // outside-most edges only
                   // Loop through each table in this story
                   for(y=0;y<=doc.stories.item(x).tables.length-1;y++)
                        // myTable will refer to each table
                        var myTable=doc.stories.item(x).tables.item(y);
                        // Header stroke
                        var myRow=myTable.rows.item(0);
                        myRow.topEdgeStrokeColor="Black";
                        myRow.topEdgeStrokeTint=100;
                        myRow.topEdgeStrokeType="Solid";
                        myRow.topEdgeStrokeWeight=0.5;
                        myRow.topEdgeStrokeOverprint=true;
                        // Do left border
                        var myCol=myTable.columns.item(0);
                        myCol.leftEdgeStrokeColor="Black";
                        myCol.leftEdgeStrokeTint=100;
                        myCol.leftEdgeStrokeType="Solid";
                        myCol.leftEdgeStrokeWeight=0.5;
                        myCol.leftEdgeStrokeOverprint=true;
                        // Do right border
                        var myCol=myTable.columns.item(myTable.columns.length-1);
                        myCol.rightEdgeStrokeColor="Black";
                        myCol.rightEdgeStrokeTint=100;
                        myCol.rightEdgeStrokeType="Solid";
                        myCol.rightEdgeStrokeWeight=0.5;
                        myCol.rightEdgeStrokeOverprint=true;
                        // Do bottom border
                        var myRow=myTable.rows.item(myTable.rows.length-1);
                        myRow.bottomEdgeStrokeColor="Black";
                        myRow.bottomEdgeStrokeTint=100;
                        myRow.bottomEdgeStrokeType="Solid";
                        myRow.bottomEdgeStrokeWeight=0.5;
                        myRow.bottomEdgeStrokeOverprint=true;
              // Set some PDF export prefs
              app.pdfExportPreferences.cropMarks=false;
              app.pdfExportPreferences.colorBars=false;
              app.pdfExportPreferences.bleedMarks=false;
              app.pdfExportPreferences.useSecurity=false;
              // Export the PDF to the filesystem
              // the filename is dependent on the school code that was passed
              // as an argument
              doc.exportFile(ExportFormat.PDF_TYPE, File(projectPath + 'work/' + app.scriptArgs.getValue('schoolCode') + '.pdf'));
              // Close the document
              doc.close(SaveOptions.no);
         // Return whatever message was produced by this function
         return message;
    // call our main function
    main();

  • InDesign Server CC Mac problem licensing

    Hi all.
    I'm trying to activate InDesign Server CC but I am having a lot of problems.
    - MacOSX 1.8.5 Server.
    - Adobeindesignserver 9.2 Debug 1_23
    First of all, the package contains just a folder, not an installer.
    So I suppose all I have to do is copy the content in the Applications folder.
    In the folder I found tree different executable files:
    InDesignServer.app
    InDesignServer.command
    indesignserverconsole.command
    I tried to activate InDesign with all the methods listed here:
    http://helpx.adobe.com/it/indesign/release-note/indesign-server-cc-release-notes.html#Requ isiti%20minimi%20di%20sistema
    adobe_prtk --tool=StartTrial --leid=InDesignServer-CS7-Mac-GM
    adobe_prtk --tool=Serialize --leid=InDesignServer-CS7-Mac-GM --serial=<MySerial> --adobeid=<MyID>
    adobe_prtk --tool=Type1Exception --accept --serial=<MySerial>--responsecode=<MyResponseCode> --leid=InDesignServer-CS7-Mac-GM
    All attempts ended with: Return Code = 0 but InDesign still do not start.
    The error is always the same:
    "Adobe InDesign Server is not properly licensed and will now quit"
    On this server is installed also IDServer CS5, can it be a problem?
    I hope someone can halp me.
    thanks Ivan.

    Hi Karoly
    So far no answer.
    The only way I found is to download a new installer from the official site and install it in a brand new system.
    In a clean system and with a true installer, not just a folder all works fine.
    Unfortunately it's just a workaround, not a real solution.

  • Problems with installation  Fonts into Adobe InDesign Server

    Hi,
    I have a problem to install the fonts into Adobe InDesign Server.
    I'm developing an application that manage the fonts, principally It's move font file to directory Fonts of Indesign Server. That works.
    The problem is that InDesing spends more than 10 seconds to detect it. I need that it works inmediately.
    How can I do it? Can I load the font with SDK?
    Thanks for your help
    Best Regards

    app.updateFonts()
    Harbs

  • Problem in starting service of indesign server

    Hi,
    While attempting to start service of indesign server CS 5, I am getting following error.
    "Could not start the IndesignServerService Service on Local Computer."
    Any help on is appreciated. Thanks.
    Regards,
    Chaitan

    It also gives the message description as below.
    "Error 1053: The service did not respond to the start or control request in a timely fashion."
    Has anyone faced this error, please provide comments on this. thanks.
    Regards,
    Chaitan

  • Visual Studio compiling 64 Bit Plugin for InDesign Server CS5

    Hello guys,
    Again I have a problem compiling 64 bit plugins, but this time in windows environments, the 32 bit compiling works fine (also on 64 bit machines). The first thing I've done was creating a new project configuration for 64 bit environments copying the 32 bit settings. Now I changed the precompiled libraries to use the 64 bit ones and changed the output directories. After that the compilation process completed without errors, but the resource files have not been copied to the output directory (the directory for them has been created, but it remains empty). Adding the created plugin into the servers directory ends up with a server message that the plugin could not be recognized. Have I missed something that is necessary for compiling 64 bit plugins?
    I'm using the 64 Bit Developer Version of the indesign server CS5. The operating system is a Windows Server 2008 x64 R2 with Visual Studio 2008.
    Thanks!
    P.S. a plugin compiled with 32 bit settings (including 32 bit libraries) also works for the 64 bit version of the server, so does it make any difference if I'm using 32 bit or 64 bit libraries?

    The libraries were all correct (all using 64-bit).  The problem was a pathing issue.  libxml2 needs iconv.dll, but it couldn't find the 64-bit version that I built.  Once it found it, everything worked correctly.
    The funny thing about depends.exe is that it isn't right all the time.  For example, if you open one of the 64-bit .aip files that ships with Illustrator (rename it to .dll first), you'll see what I'm talking about.  It complains that you're mixing x86 and x64 CPU types, even though you're not.
    The program I used to discover my issue is Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx).  I've been using it for years and love it.

  • Can not start trial InDesign Server CC 2014 PC

    Hi
    I tried several time to start a trial version of InDesign Server CC 2014 on my pc but it does not work (licence problem)
    If I try to use APTEE (CS6 didn't find any other version) with this command:
    adobe_prtk --tool=StartTrial --leid=InDesignServer-10-Win-GM
    I have a return code 6
    Please help

    up

  • What's needed for a PDF processing module for InDesign Server?

    Hello,
    After digging through lots of documentation and whitepapers, I am still puzzled about what would be an efficient way to implement a software module that handles some specific processing tasks of PDF output (automatically generated in InDesign Server and targeted for various types of print configurations from small-run LFP up to very high volume commercial printing).
    We have a working standalone script that uses Acrobat's preflight and correction functions, and now we would like to port and integrate this into a server-based workflow. Apparently, there is no Acrobat Server product available. Distiller Server does exist, but seems to be limited to converting PostScript to PDF without the PDF-to-PDF processing features we need. Some of the functionality that is typically found in RIPs (e.g. converting colours to a preset output intent with highly configurable options [for pixel/vector elements, black and spot colour ink issues etc.] and flattening native transparency) could probably be implemented using the Adobe PDF Print Engine, but this seems a bit overkill and would probably require extensive programming from scratch. I suspect there should be a smarter way to use existing software – but which? I am not yet familiar with InDesign Server; does its SDK permit full access to the same parts/functions of the PDF library that Acrobat uses for its preflight and correction features?
    Any help is welcome.
    Eric

    Gordon,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • JS InDesign Server CS2 - Search and Replace

    I am struggling to get a search and replace script to work on InDesign Server CS2.
    This works on my Desktop CS2:
    app.documents[0].search('xxx', false, false, 'yyy');
    but not through InDesign Server CS2.
    Can any one please help.
    Thanks
    Simon Kemp

    Thanks for all of the replies.
    This situation is that the company I work for has decided to consolidate some of the duties of our graphics departments.  People in one location will be dummying documents for people at another location.
    The paths to the images are UNC paths, which means they're pointing to different shares on different servers.  This cannot be changed.
    Also, the images at either location may not exist until days after the dumming process.
    During the dummying process, the application that's used to build the pages places empty ad boxes (placeholders) on the page.  The placeholders are text frames.
    I don't understand in what way, but the paths to the images are hidden inside the InDesign file.  From the users' standpoint, the placeholders simply display basic information about the ad (customer name, ad number, etc.) and hold the position for the images that will be placed later.
    It is not using script labels to apply the paths.
    So, this is why I describe the problem as needing to do a search and replace inside the InDesign file.
    As I mentioned before, I know this is doable.  I think I now see that the problem problem is figuring out how these hidden paths are being applied in the document.  My only thought was script labels, but this is not the case...

  • InDesign Server CS6 (MacOS) - JavaScripting & Troubleshooting "Bus error" or "Segmentation fault"

    I'm attempting to convert a workflow from InDesign CS5.5 Desktop with AppleScript to InDesign Server CS6 with JavaScript. It seems most of our templates work fine but every now and then I run into one that seems to work properly but right after we export to PDF and JPG which is the final step in the script I get either a Bus error or a Segmentation fault error. The files do export and the console sits idle for a few seconds then I get the crash. It doesn't seem to give me anything else and I can't find a crash dump or core file anywhere on disk to examine.
    The exact same input files on InDesign CS5.5 Desktop completing a very similar automation task via AppleScript work without an issue or error. I'm not certain if it's a problem with the way the InDesign files were put together, a version problem between a CS5.5 file and CS6, or something that I'm doing wrong in the script.
    Is there a way to get InDesign Server to go into debug or verbose mode so that it will show more than just two word errors on crash?  I've read a few people talking here about the debug version but every path I've found to get access to the debug version runs into a roadblock with a bad link.
    I would appreciate a point in the current right direction for how to debug these templates this script.

    Re: verbose mode. These are not InDesign error messages. They are system errors, saying that an app (InDesign?) crashed, went away, hence could not issue any kind of message. Crash logs are the place to start. If they don't help, and the crash is outside your code, after that it's over to the maintainer (Adobe?)
    Worth sharing a suitable crash log, as the list of routines active at the crash can narrow down issues.

Maybe you are looking for

  • Several how-to questions...

    I'm looking for answers to the following questions with respect to Framemaker 9: 1) How do I get the Spell Checker to recognize words that abut dash ems and ellipsis?  Currently the Spell check flags such instances. 2) Is there no way to display POTE

  • Data cleansing: Clipboard error when using bupa_clear

    Hello, When using BUPA_CLEAR transaction to process cleansing cases, dragging and dropping some objects from one BP to another produces the message "Clipboard does not contain any data" and the object is not copied to the new BP. An example: BP 1 has

  • Elements 6.0 lighting effects lack of smooth color graduation

    I'm using Elements 6.0 and am applying a sppotlight effect to a TIFF (from RAW) portrait.  I am extemely pleased with the results - except - on closer review there are now definite color "rows" insteat of a smooth color transition on the subject's fo

  • Aperture 2 to 3?

    Hello all, First, I have to say I'm new to Macs. I bought my new Mac in Nov 09 and got Aperture 2 installed with it (I assume Aperture 3 wasn't available yet). I'm heavily into photography and this program was one of the reasons I bought a Mac. Does

  • Fault Tolerance in Nested Lab

    Hi everyone, I am trying to set up FT in a nested lab.I have followed the instructions on How to configure VMware Fault Tolerance on native and in &#8220;nested&#8221; ESXi environments | I wish I could- (German). But after I turn on FT and then try