Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all 20709 articles
Browse latest View live

How to get InDesign Server instance on IIS Webservice

$
0
0

    <WebMethod()> _
    Public Function testIDS() As String

        Dim idsAP As InDesignServer.Application = Nothing

        Try
            idsAP = GetObject("myid2")

        Catch ex As Exception
            Return ex.Message
        End Try

 

        idsAP.Consoleout(" Web Service call test success !(VB) ")

        Return Nothing

    End Function

 

I can run it correctly on ASP.NET development server, but it will occurred  error on IIS6 .

Is the permission problem? How to solve it ?

I also try this

 

idsAP = System.Runtime.InteropServices.Marshal.BindToMoniker("myid2")

 

But, no use !


Indesign Server CS5 crashes at launch

$
0
0

Hi,

 

Indesign Server 7.03 on OSX 10.5.8 Intel Xserve.

 

When Indesign server CS5 is launched at boot (or with launchctl) it crashes with the following errror in the system log:

 

Nov 20 13:32:00 ams1ps01 com.adobe.ids.launchd.8888[799]: /Applications/Adobe InDesign CS5 Server/InDesignServer: line 13:   801 Trace/BPT trap          "$installed_name" "$@"
Nov 20 13:32:00 ams1ps01 com.apple.launchd[1] (com.adobe.ids.launchd.8888[799]): Exited with exit code: 133
Nov 20 13:32:00 ams1ps01 com.apple.launchd[1] (com.adobe.ids.launchd.8888): Throttling respawn: Will start in 3 seconds
Nov 20 13:32:03 ams1ps01 InDesignServer[806]: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login.
Nov 20 13:32:03 ams1ps01 com.adobe.ids.launchd.8888[804]: Sat Nov 20 13:32:03 ams1ps01 InDesignServer[806] <Warning>: 3891612: (connectAndCheck) Untrusted apps are not allowed to connect to or launch Window Server before login.
Nov 20 13:32:03 ams1ps01 com.adobe.ids.launchd.8888[804]: ================================================================================
Nov 20 13:32:03 ams1ps01 com.adobe.ids.launchd.8888[804]: .  InDesign CS5 Server Version 7.0
Nov 20 13:32:03 ams1ps01 com.adobe.ids.launchd.8888[804]: .  Copyright 1999-2010 Adobe Systems Incorporated and its licensors.
Nov 20 13:32:03 ams1ps01 com.adobe.ids.launchd.8888[804]: .  All rights reserved. See the other legal notices in the ReadMe.
Nov 20 13:32:03 ams1ps01 com.adobe.ids.launchd.8888[804]: ================================================================================
Nov 20 13:32:04 ams1ps01 InDesignServer[806]: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Nov 20 13:32:04 ams1ps01 com.adobe.ids.launchd.8888[804]: _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
Nov 20 13:32:05 ams1ps01 kernel[0]: unknown SIGSEGV code 0
Nov 20 13:32:05: --- last message repeated 1 time ---
Nov 20 13:32:05 ams1ps01 InDesignServer[806]: [soap] Servicing SOAP requests on port 8888 [8888]
Nov 20 13:32:07 ams1ps01 InDesignServer[806]: An uncaught exception was raised
Nov 20 13:32:07 ams1ps01 com.adobe.ids.launchd.8888[804]: 2010-11-20 13:32:07.705 InDesignServer[806:10b] An uncaught exception was raised
Nov 20 13:32:07 ams1ps01 InDesignServer[806]: Error (1002) creating CGSWindow
Nov 20 13:32:07 ams1ps01 com.adobe.ids.launchd.8888[804]: 2010-11-20 13:32:07.706 InDesignServer[806:10b] Error (1002) creating CGSWindow
Nov 20 13:32:07 ams1ps01 InDesignServer[806]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
Nov 20 13:32:07 ams1ps01 com.adobe.ids.launchd.8888[804]: 2010-11-20 13:32:07.706 InDesignServer[806:10b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'

 

When launched while logged on, it launches ok.

 

Here's the content of the plist file used to launch ID Server:

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"
<plist version="1.0"> <dict>
<key>Label</key>
<string>com.adobe.ids.launchd.8888</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Applications/Adobe InDesign CS5 Server/InDesignServer</string>
<string>-port</string>
<string>8888</string>
<string>-LogToApplicationEventLog</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>

 

Please advice.

 

Regards,

 

Jeroen Peters

Getting unable to snap in error when trying to run indesign server as service

$
0
0

Hi,

 

I am trying to get the indesign server cs5 as a service to run at a particular port on 64bit windows vm platform. The documentation pointed towards trying to operate the .msc file in <installation_folder>/adobe/indesign x64/ folder.  However I am getting a snap-in error. I have tried installing it through mmc.exe, but fails with the same error. It is a trial version right now.

 

The error reads

"MMC could not create a snap in. The snap-in might not have been installed correctly.

Name: IndesignServerService

 

CLSI ID:{xxxxxxxxxxxxx}

"

 

I have uninstalled, reinstalled and restarted many times.

Any info will be helpful. I am wondering if all the dlls have been registered correctly.

 

Thanks

Ravi

Export IDML as PNG (JAVA-API)

$
0
0

Hi,

I was trying to export PNG using java api. I say that it has an export parameter kExportFormatPNGFormat.

But Everytime i tried use it,  an error was returned by In Design Server:

"Error code = 90.934", "The specified object does not support the desired export format.."

What´s the correct way to use this option?

InDesign Server crashing on hyperlinks - HYPERLINKS.RPLN

$
0
0

When trying to access properties of a hyperlink it causes InDesign to crash. I can assign properties of the hyperlink but if I try and retrieve properties it hangs and crashes resulting in the error below. I'm using InDesign Server 64bit version 7.0.4.553. What's interesting is this works completely fine when testing using InDesign CS5 client version.

 

I have used Extend script toolkit to try and debug the issue but you can't even use the databrowser to look at the hyperlink properties as it'll crash there as well. But if I debug using toolkit with client version of InDesign it works fine. It really seems like an issue with InDesign Server and I'm not sure what I can do to work around/fix this problem.

 

Example script -

 

var myDoc = app.open([document path]);

for (i = 0; i < myDoc.hyperlinks.length; i++)

{

     var myHyperlink = myDoc.hyperlinks[i];  

     var newDestination = myHyperlink.destination; // - this causes indesign to crash

     //Do some processing...

}

 

 

Faulting application name: InDesignServer.exe, version: 7.0.4.553, time stamp: 0x4d891c6d

Faulting module name: HYPERLINKS.RPLN, version: 7.0.4.553, time stamp: 0x4d891ef9

Exception code: 0xc0000005

Fault offset: 0x000000000006e33b

Faulting process id: 0x1dfc

Faulting application start time: 0x01ccd52e23e3216c

Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\InDesignServer.exe

Faulting module path: C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\Required\HYPERLINKS.RPLN

 

Any help would be great! I can post more information if needed.

Fonts load and unload

$
0
0

Hi all,

 

I working a project that we receive artwork(idml file + fonts) and we have to generate pdf files.

 

I need to "load" and "unload" fonts from indesign context. Right now I´m copying them (to indesign´s font´s folder) before  pdfs´ generation, but when i need to remove it, I can´t.. Indesign locked it.

 

It´s there anyway to release this fonts?  Is It possible to load it from another folder besides "indesign fonts´folder"

 

Regards

How to convert idml to image via soap

$
0
0

This is cross-posted on stack overflow, so if anyone want's delicious SO rep points, head on over to http://stackoverflow.com/questions/9946460/indesign-server-how-to-export-idml-as-image and I'll be more than happy to dole them out.

 

I need the very simple functionality in my application to convert an idml file to image. I will have access to InDesign Server through SOAP but am having trouble understanding the process for actually doing this.

I have not used SOAP services in forever, and even then only for a few simple things so can someone explain the process to me?

From digging through the dozens of scattered pdfs it seems like the process has something to do with passing a javascript script to the server which will then execute against the InDesign API.

  1. Is this summation correct?
  2. How is the idml file itself passed to the server?
  3. I can't find an actual Api anywhere. How do I 'export idml to tiff' for example?

Stuck parsing an InDesign document, extracting data to an XML file

$
0
0

Hi,

 

I have an indesign document of a newspaper page (1 spread + 1 page) with some articles (title, body, img, img caption) and ads (img). I need to parse this and create an XML file from which data can be stored into a mysql db. The db handling is already programmed.

 

The xml file will have this structure (page = root):

<page>

     <article>

          <title>Title</title>

          <content>Lorem ipsum</content>

          <img title=""></img>

     </article>

     <ad>

          <img title=""></img>

     </ad>

</page>

 

The .indd file is created using the Smart Layout plugin from WoodWing software. When trying to print the "TextFrames>Texts>contents" the textframes that use the smart layout plugin do not show, they seem to be not included in the data model of the app. That's why I went another route, and parsed "Stories>Texts>contents". I can get all the text objects of the page, including the articles that are created using the smart layout plugin. Among these objects are article title's and article bodies. The problem is I don't know which title belongs to which body, so I can't create a new article node in the XML. I have exported the orignal file as IDML and browsed the spread and the stories, but I see no way to link article titles (textframe), article bodies (textframe) and images (contained by rectangles) together.

 

Is there a way to solve this?

 

Setup:

InDesign CS4 .indd documents

Win2k8 server

JavaScript (via ExtendScript toolkit)

InDesignServer CS5.5 (64bit) (want to use this)

SmartLayout plugin (installs @ InDesignServer CS5.5 32bit. This 32bit InDServer does not start, it has missing dll's).


logs in Indesign Server

$
0
0

Hi Experts,

 

We are running multiple instances of Indesign server service. But for all the instances Logs are coming into single file. Is it possible to separe the logs for each instance of server.

 

It will be great help for analysing each server request. If possible please let us know.

Thanks in advance.

 

Regards,

sameer

Indesign Server crashes unexpected

$
0
0

Hello forum,

 

in the last weeks we have a big problem with InDesignServer CS3 (Ver 5.0.5.697). From time to time one of the running instances crashes with a weird error message in the windows event log. It consists of the following three entries:

 

1. Message: [Server] D [8764] [20082]  (8764 is the process id, 20082 the port. But what does the D tell me)

 

2. Message: [Server] Adobe InDesign wird beendet. Es wurde ein schwerwiegender Fehler festgestellt. Starten Sie InDesign erneut, um InDesign-Dokumente wiederherzustellen, die nicht gespeichert wurden. [8764] [20082]

(German version, it says, that InDesign will be closed because of a fatal error.

 

3. Message: Fehlerhafte Anwendung InDesignServer.exe, Version 5.0.5.697, Zeitstempel 0x49a4cf58, fehlerhaftes Modul Public.dll, Version 5.0.5.697, Zeitstempel 0x49a4ce0b, Ausnahmecode 0xc0000005, Fehleroffset 0x0002e1fa, Prozess-ID 0x223c, Anwendungsstartzeit 01cd34df392c8230.

 

We have no clue, what this is all about. The instances recover by themselfes after a while, but some of the jobs which are send to it throw errors. The Scripts we sent to the instance right before the crash runs without a problem after the restart.

Can anyone help?

 

greets

Michael

rectangle.place (Placing Image) - InDesign vs InDesignServer

$
0
0

Any help or suggestions or even guesses appreciated here. Thanks!

 

I have a script that correctly places images in tagged rectangles via script in InDesign, the script then exports to PDF. All is well.


When I run the same script with the same image path folder structure in InDesignServer, the exported PDF does not show the 'placed' images. I'm getting no errors in my console.


Early in the script I have;

myInDesign.imagePreview = True


I place the images with;

myRectangle.Place myFile, False

myRectangle.fit 1668247152

myRectangle.fit 1667591779

for each myItem in myRectangle.items

     myItem.itemLink.unlink

next



I've tried it with and without the .unlink code (an attempt to force embedding of the images)


In all other aspects the script works the same on ID as IDS. I'm starting my ID CS6 server with InDesignServer -previews


I suspect I'm missing something with the PDF export preferences, but have no idea why it's working on ID and not on IDS.


Any help greatly appreciated.

 

(I have cross-posted this in the InDesign Forum. I will remove one or the other if answered)

How to specify -preview when launching via AppleScript

$
0
0

I have an InDesign Server CS5.5.I have a shell script that waits for xml files to be placed into a certain directory on the server. When it sees a file in the folder it launches an applescript that controls InDesign Server. I need to know how to specify the -preview option for the InDesign Server binary so the files generated by the server will have previews when they are opened in InDesign client. The apple scripts look like this:

 

tell application "InDesign Server"

 

     -- do some stuff

 

end tell

 

Where/how would I specify the -preview option. I see nothing referring to the -preview option in the Library for indesign.

How do I use ESTK to debug ExtendScript running in IDS?

$
0
0

I want to step through ExtendScript running inside InDesign Server (not CC).

Thanks!

InDesign Server CC Multi-Instances

$
0
0

Following the documentation for multi-instance support the application, running as a web service under IIS7 on Windows Server 2008 R2, is failing to access the object. For a single instance I use CreateObject("InDesignServer.Application")but as document for multiple instances I useGetObject(“myIDS1”)(where I have an instance of InDesign Server CC running with parameter “indesignserver -configuration myIDS1”. I have tried running the instance both from command line, elevated command line, and from the InDesignServerService). It is acting as though it does not recognise the instance name, but then I don't really understand how it would. Any ideas appreciated.

InDesign Server CC Mac problem licensing

$
0
0

Hi all.

 

I'm trying toactivateInDesign ServerCCbutI am havinga 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 toactivateInDesignwithall the methodslistedhere:

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 attemptsended with: ReturnCode = 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 aproblem?

 

I hope someone can halp me.

thanks Ivan.


configure Indesign server WS to run in SSL mode

$
0
0

How does one configure Indesign server (CS6) WS to run in SSL mode?  If not in CS6, how about CC 2014?

 

thanks

Cris

I can't get indesign server to listen on the admin port on osx.

$
0
0

I've tried the example (with other ports) from the sdk with no success:

"/Applications/Adobe InDesign CS6 Server/InDesignServer.app/Contents/MacOS/InDesignServer" -port 12345 -heartbeatupdateinterval 10 -adminport 18485

The port isn't showing when I list the ports using lsof.

 

When I use LBQ the same things occurs. We start the server with:

/Applications/Adobe\ InDesign\ CS6\ Server/InDesignServer.command -configuration config_ior2 -pluginpath Server/Corba -iorfile ~/ServerTestFiles/LBQ/iors/ior2.txt -adminport 12342 -previews

 

When sending a REST call with KillInstance pointing to the ior file the same error occur as when calling the port through curl:

java.net.ConnectException: Connection refused

  at java.net.PlainSocketImpl.socketConnect(Native Method)

  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:18

.....

 

On windows it's working as expected.

 

Is there something to take into account when starting on mac?

 

System:

Mac OSX (10.9.4)

Indesign Server CS6 ver 8.0

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

$
0
0

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.

InDesign CC Server 2014 and InDesign CC 2015 Application

$
0
0

Hi,

My corporate network has a windows server system with InDesign CC 2014 server software installed on it. My users however are now being pushed into the InDesign CC 2015 application. Would there be anyway possible to have InDesign CC 2014 server read and accept a InDesign CC 2015 package? Or... will my users need to downgrade back to InDesign CC 2014 Application? Thank you for your time.

InDesign server COM error

$
0
0

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. However I believe that is not code issue but of server.

Can anyone help here. Thanks.

Viewing all 20709 articles
Browse latest View live


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