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

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.


Best approach to implement a content driven composition with InDesign ?

$
0
0

Hi,

 

I'm search for the best approach to implement an automatic content driven composition with Indesign.

 

 

My contents are XML based.

 

 

For now, I work with InDesign (Desktop app) and a scripting solution to handle CMS search and import in predefined InDesign templates or files with known pages number.

 

 

Tomorow, I need a solution to compose many pages on demand with an unknown pages number produced, a simple and repeatable InDesign template.

 

 

InDesign server will be used to do this job.

 

 

But how to use it ?

 

 

by handling IDML files  ?

by scripting ? an ImageCatalog.jsx based on an XML structure ...

other solution ? maybe a plugin ?

 

 

What's the best approach in term of performances, development charge and maintenability ?

 

 

Any ideas, samples, ... will be appreciated

 

 

Thanks

Starting InDesign server as root via "sudo" fails

$
0
0

Hi all,

 

(I previously posted this in the InDesign forum)

 

When I try to start InDesign CC Server 2015 as root via sudo, it fails to start with the following error message in the console:

The application with bundle ID com.adobe.InDesignServer is running setugid(), which is not allowed.

 

I tried using "InDesignServer.command" instead and with one or two parameters ("-port 8090", "-previews") without any success.

It works fine if I'm starting it as the logged in user (named admin) or if I log in as root and then start it.

The reason for me wanting it to be started as root via sudo is that we have encountered file permission problems in the past (users giving wrong permissions to documents that later shall be processed by the server). And you do not normally want to be logged in as root.


We have a lot of workflows with InDesign Server CS6 running as root. The users where able to set permissions in many different ways and when the workflows where designed the only way we found at the time to get rid of all problems where to run the InDesign server CS6 as root.

 

I'm running it on a Mac with OS X 10.10.5 (currently in a Fusion VM). I do not think the fact that it's running in a Fusion VM differs since it works when I log in as root.

 

Failing sudo start

Terminal output

INDD-server-CC-2015-test-10:~ admin$ sudo su -

Password:

INDD-server-CC-2015-test-10:~ root# cd /Applications/Adobe\ InDesign\ CC\ Server\ 2015/

INDD-server-CC-2015-test-10:Adobe InDesign CC Server 2015 root# ./InDesignServer

2015-10-22 08:24:12.028 adobe_licutil[1032:16521] The application with bundle ID com.adobe.adobe_licutil is running setugid(), which is not allowed.

================================================================================

.  InDesign CC Server Version 11.0

.  Copyright 1999-2015 Adobe Systems Incorporated and its licensors.

.  All rights reserved. See the other legal notices in the ReadMe.

================================================================================

Thu Oct 22 08:24:12 2015 INFO [server] Initializing

Thu Oct 22 08:24:12 2015 INFO [server] Loading the application

Thu Oct 22 08:24:12 2015 INFO [server] Scanning for plug-ins

Thu Oct 22 08:24:12 2015 INFO [server] Registering 116 plug-ins

Thu Oct 22 08:24:14 2015 INFO [server] Completing Object Model

Thu Oct 22 08:24:14 2015 INFO [server] Saving Object Model

Thu Oct 22 08:24:14 2015 INFO [server] Initializing plug-ins

Thu Oct 22 08:24:14 2015 INFO [server] Calling Early Initializers

Thu Oct 22 08:24:14 2015 INFO [server] Starting up Service Registry

2015-10-22 08:24:14.845 InDesignServer[1031:16520] __agent_connection_block_invoke_2: Connection error - Connection invalid

Thu Oct 22 08:24:15 2015 INFO [server] Executing startup services

Thu Oct 22 08:24:15 2015 INFO [server] Using configuration configuration_noport

Thu Oct 22 08:24:15 2015 INFO [server] Initializing Application

2015-10-22 08:24:15.708 InDesignServer[1031:16516] The application with bundle ID com.adobe.InDesignServer is running setugid(), which is not allowed.

INDD-server-CC-2015-test-10:Adobe InDesign CC Server 2015 root#

 

Messages in system.log

Oct 22 08:24:48 INDD-server-CC-2015-test-10.local adobe_licutil[1042]: The application with bundle ID com.adobe.adobe_licutil is running setugid(), which is not allowed.

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.5 instead of 10.10.5. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.

  Call location:

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 0  CarbonCore                          0x00007fff93d442b7 ___Gestalt_SystemVersion_block_invoke + 113

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 1  libdispatch.dylib                  0x00007fff9ad42e73 _dispatch_client_callout + 8

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 2  libdispatch.dylib                  0x00007fff9ad42d86 dispatch_once_f + 117

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 3  CarbonCore                          0x00007fff93ccd456 _Gestalt_SystemVersion + 987

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 4  CarbonCore                          0x00007fff93ccc6e3 Gestalt + 144

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 5  AdobeAGM                            0x000000010f5b3872 AGMTerminate + 1027540

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: 6  AdobeAGM                            0x000000010f7f1a3a AGMTerminate + 3379100

Oct 22 08:24:51 INDD-server-CC-2015-test-10.local InDesignServer[1041]: __agent_connection_block_invoke_2: Connection error - Connection invalid

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local InDesignServer[1041]: The application with bundle ID com.adobe.InDesignServer is running setugid(), which is not allowed.

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: realpath() returned NULL for /var/root/Library/Caches/com.adobe.InDesignServer

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: The read-connection to the DB=/var/root/Library/Caches/com.adobe.InDesignServer/Cache.db is NOT valid.  Unable to determine schema version.

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: realpath() returned NULL for /var/root/Library/Caches/com.adobe.InDesignServer

Oct 22 08:24:52 --- last message repeated 1 time ---

Oct 22 08:24:52 INDD-server-CC-2015-test-10.local nsurlstoraged[213]: ERROR: unable to determine file-system usage for FS-backed cache at /var/root/Library/Caches/com.adobe.InDesignServer/fsCachedData. Errno=13

 

Successful start (as admin, it looks the same when I'm logged in as root)

Terminal output

INDD-server-CC-2015-test-10:Adobe InDesign CC Server 2015 admin$ ./InDesignServer

================================================================================

.  InDesign CC Server Version 11.0

.  Copyright 1999-2015 Adobe Systems Incorporated and its licensors.

.  All rights reserved. See the other legal notices in the ReadMe.

================================================================================

Thu Oct 22 08:26:30 2015 INFO [server] Initializing

Thu Oct 22 08:26:30 2015 INFO [server] Loading the application

Thu Oct 22 08:26:30 2015 INFO [server] Scanning for plug-ins

Thu Oct 22 08:26:30 2015 INFO [server] Registering 116 plug-ins

Thu Oct 22 08:26:32 2015 INFO [server] Completing Object Model

Thu Oct 22 08:26:32 2015 INFO [server] Saving Object Model

Thu Oct 22 08:26:32 2015 INFO [server] Initializing plug-ins

Thu Oct 22 08:26:32 2015 INFO [server] Calling Early Initializers

Thu Oct 22 08:26:33 2015 INFO [server] Starting up Service Registry

Thu Oct 22 08:26:34 2015 INFO [server] Executing startup services

Thu Oct 22 08:26:34 2015 INFO [server] Using configuration configuration_noport

Thu Oct 22 08:26:35 2015 INFO [server] Initializing Application

Thu Oct 22 08:26:35 2015 INFO [server] Completing Initialization

Thu Oct 22 08:26:35 2015 INFO [server] Calling Late Initializers

Thu Oct 22 08:26:37 2015 INFO [server] Image previews are off

Thu Oct 22 08:26:37 2015 INFO [server] Server Running

Thu Oct 22 08:26:37 2015 INFO [javascript] Executing File: /Applications/Adobe InDesign CC Server 2015/Scripts/startup scripts/ConnectInstancesToESTK.js

Thu Oct 22 08:26:37 2015 INFO [javascript] Executing File: /Applications/Adobe InDesign CC Server 2015/Scripts/converturltohyperlink/startup scripts/ConvertURLToHyperlinkMenuItemLoader.jsx

Thu Oct 22 08:26:37 2015 INFO [javascript] Executing File: /Applications/Adobe InDesign CC Server 2015/Scripts/converturltohyperlink/ConvertURLToHyperlinkMenuItem.jsxbin

 

Messages in system.log

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.5 instead of 10.10.5. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.

  Call location:

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 0   CarbonCore                          0x00007fff93d442b7 ___Gestalt_SystemVersion_block_invoke + 113

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 1   libdispatch.dylib                   0x00007fff9ad42e73 _dispatch_client_callout + 8

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 2   libdispatch.dylib                   0x00007fff9ad42d86 dispatch_once_f + 117

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 3   CarbonCore                          0x00007fff93ccd456 _Gestalt_SystemVersion + 987

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 4   CarbonCore                          0x00007fff93ccc6e3 Gestalt + 144

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 5   AdobeAGM                            0x000000010cba3872 AGMTerminate + 1027540

Oct 22 08:55:27 INDD-server-CC-2015-test-10.local InDesignServer[1160]: 6   AdobeAGM                            0x000000010cde1a3a AGMTerminate + 3379100

 

Can anyone help we with this?

 

Regards

Åke

How to get ISelectionManager

$
0
0
Hi,<br /><br />I add a new javascript method to IDocument object, everything works ok and I can call the method through a jsx.<br /><br />var myDocument = app.open(myFile,true);<br />myDocument.dosomething();<br /><br />Here is a part of code<br /><br />ErrorCode CS4ServerScriptProvider::HandleEvent(ScriptID eventID, IScriptEventData* data, IScript* parent)<br />{<br />.....<br />...<br />// To get the IDocument I use this call<br />InterfacePtr<IDocument> document(parent, UseDefaultIID());<br />..<br />..<br />}<br /><br />My question is how to get the selection manager for this document, the following statement return always null.<br /><br />selectionManager = InterfacePtr<ISelectionManager>(Utils<ISelectionUtils>()->GetActiveSelection()); <br /><br />also the following call returns null <br /><br />GetExecutionContextSession()->GetActiveContext()->GetContextSelection();

Cannot Start InDesignServerService -- Win2008

$
0
0
Hi,

I installed InDesign CS4 Server Release and Debug versions on a Windows 2008 Server. However, I can't start the service of the release version, it gives me a "Error 1053: The service did not respond to the start or control request in a timely fashion" message. But I can run the server via the command line.

Also, when I try to run the debug version, via command line or via the service, I get an "The application failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail" message.

The event log gave me this details:

Activation context generation failed for "C:\Program Files\Adobe\Adobe InDesign CS4 Server Debug\InDesignServerService.exe". Dependent Assembly Microsoft.VC80.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",typ e="win32",version="8.0.50727.762" could not be found. Please use sxstrace.exe for detailed diagnosis.

I already installed c++ runtime libraries into the server.

Hope someone can help through this. Thanks in advance.

-- Jeff

Duplicate relationship message

$
0
0
Hi,

I get the following messages when the CS4 server starts, what do they mean ?

Duplicate relationship for element "getStyleForPE 'eGsp' kNAEventScriptElement1[Unknown3rdPartyPrefix + 0 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 ]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 4.0")
Duplicate relationship for element "UpdateItemByTemplateInfo 'eIbt' kNAEventScriptElement2[Unknown3rdPartyPrefix + 1 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 4.0")
Duplicate relationship for element "getStyleForPE 'eGsp' kNAEventScriptElement1[Unknown3rdPartyPrefix + 0 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 5.0")
Duplicate relationship for element "UpdateItemByTemplateInfo 'eIbt' kNAEventScriptElement2[Unknown3rdPartyPrefix + 1 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 5.0")
Duplicate relationship for element "getStyleForPE 'eGsp' kNAEventScriptElement1[Unknown3rdPartyPrefix + 0 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 6.0")
Duplicate relationship for element "UpdateItemByTemplateInfo 'eIbt' kNAEventScriptElement2[Unknown3rdPartyPrefix + 1 ]" on object "document 'docu' kDocumentObjectScriptElement[DocFramework + 40 (0x16328)]" for client kCoreScriptManagerBoss from kNAPluginID and kNAPluginID (DOM: "kAppleScriptMgrBoss InDesign Server Roman enUS 6.0")

.fr script element definition

resource VersionedScriptElementInfo(10)
{
// Contexts
{
kFiredrakeScriptVersion, kCoreScriptManagerBoss, kWildFS, k_Wild,
}
// Elements
{
// Specifies an event
Event
{
kNAEventScriptElement1,
e_getStyleForPE,
"getStyleForPE",
"get the style for a pe type id",
StringType, "The style",
{
p_PE, "pe_id", "The pe id", StringType, kRequired,
}
}
Event
{
kNAEventScriptElement2,
e_UpdateItemByTemplateInfo,
"UpdateItemByTemplateInfo",
"Update NA box by Doc Id, position, type and PE",
BoolType, "Success or Failure",
{
p_docID, "DocumentId", "Document Id", StringType, kRequired,
p_position, "position", "Position", StringType, kRequired,
p_type, "type", "Type", Int32Type, kRequired,
p_peid, "peid", "Publication ID", StringType, kRequired,
}
}

// Specifies a property
Property
{
kNAItemIsNAItem,
p_IsNAItem,
"isNAItem",
"Is NAItem",
BoolType,
{}
kNoAttributeClass,
}

// Connects this plug-in's events and properties to scripting.
Provider
{
kCS4ServerScriptProviderBoss, // provider boss ID
{
Object{ kDocumentObjectScriptElement },
Event{ kNAEventScriptElement1 },
Event{ kNAEventScriptElement2 }
}
}

Provider
{
kNAItemScriptProviderBoss, // provider boss ID
{
Object{ kPageItemObjectScriptElement },
Property{ kNAItemIsNAItem, kReadOnly }
}
}
}
};

Best regards
John

Smart Text Reflow

$
0
0

Hello,

 

is it possible to use smart text reflow * with IDS CS4?

 

What I try:

I create a document (based on a master spread) with a defined number of pages (e.g. 4). After that I place and format the XML content. With activated smart text reflow in the master spread document CS4 client automatically adds new pages to avoid overset text. But with the same master spread and the same jsx-script Indesign Server does not - the last page is number 4 and it has overset text.

A litte bit strange seems to me that during js script execution Indesin client says, last page is number 4. After saving and reopening the document last page number is 5 - the page added by smart text reflow has become a "regular" one (doing that on IDS doesn't help - last page is still number 4).

Does anybody know how to use this feature to automatically add pages on IDS?

 

 

 

* http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-6f99a.html#W S08B020D4-C42B-4a08-A0D2-ECA318D1C39F

Cannot install InDesign Server CS4: Win 2003 x64

$
0
0

One of my customers has just purchased InDesign Server CS4 (Single Instance, Premium License) and I'm trying to install build 525 on Windows Server 2003 Enterprise Edition x64. I select the default 'Easy/Recommended' installation settings and the installer runs through, but then displays the message below. I've tried installing to different directories but hit the same error every time.

error.png

 

When I select 'Next' the installer lists the following products and components have been successfully installed:

 

  • Adobe InDesign CS4 Server
  • ID Server service files
  • ID Server components
  • ID Server service files (x64)

 

However, it doesn't appear to have installed correctly, as if I start the InDesign Server service and then execute the following test script nothing happens:

 

#target indesignserver;

//HelloWorld.jsx

//Create a new document.

    var myDocument = app.documents.add();

//Get a reference to the first page.

    var myPage = myDocument.pages.item(0);

//Create a text frame.

    var myTextFrame = myPage.textFrames.add();

//Specify the size and shape of the text frame.

    myTextFrame.geometricBounds = ["6p0", "6p0", "18p0", "18p0"];

//Enter text in the text frame.

    myTextFrame.contents = "Hello World!";

//Save the document (fill in a valid file path).

    myDocument.save(new File("/e/HelloWorld.indd"));

//Close the document.

//Close the document.

    app.documents.item(0).close();

 

Any ideas?


Calling Plugin Method through JavaScript

$
0
0

Hello All,

 

Happy New Year to all.

 

I have a plugin under InDesign CS4 Server which had an event exposed with some parameter. Now I am trying to port the plugin into InDesign CS5 server. I have changed under .FR "Event" to "Method" and all the relevant changes required for calling the Method.

 

When under Javascript I call my plugin method

for e.g. app.mymethod(documentname);

 

It shows an error under the script "app.mymethod is not a function".

 

Does any one have an idea what I might have missed while porting the plugin. Or under CS5 is there a different way to call the plugin method from Script.

Please do let me know its urgent.

 

Thank you all in advance.

 

Regards

Farzana.

InDesignServer CS5.5 Windows Service issue

$
0
0

Hi,

 


My company just bought InDesignServer CS5.5 (win- full version). My app uses indesignserver on port 12345. This works via command line very well (Indesignserver.com -port 12345). But there is nothing in documentation that explain how to install indesignserver as windows service with port 12345 option. When I install the indesignserver it will get installed as a windows service but without any parameters.

 

Can anybody please help me regarding this.

 

Thanks,

Venkat

How to start Debug server? No Redistributables?

$
0
0

Hi everyone,

 

Having issues with trying to run a Debug server for development testing. The server is not on the same dev box as Visual Studio, etc. It's a standalone W2008R2 box. I have the Debug version installed for testing but when trying to run it I get the 'side-by-side configuration error'.

 

Did a quick search and just installed the 2005 C++ redistributables but still no go.

 

So how can I get this Debug server up and running so we can develop against it without using our Production license?

 

There is zero Adobe documentation on this that I have found and quite frustrating for sure.

 

Edit:

 

I did a sxstrace and here are the results:

 

 

=================
Begin Activation Context Generation.
Input Parameter:          Flags = 0          ProcessorArchitecture = AMD64          CultureFallBacks = en-US;en          ManifestPath = C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\InDesignServer.com          AssemblyDirectory = C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\          Application Config File =
-----------------
INFO: Parsing Manifest File C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\InDesignServer.com.          INFO: Manifest Definition Identity is (null).          INFO: Reference: Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".          INFO: Resolving reference for ProcessorArchitecture amd64.                    INFO: Resolving reference for culture Neutral.                              INFO: Applying Binding Policy.                                        INFO: No publisher policy found.                                        INFO: No binding policy redirect found.                              INFO: Begin assembly probing.                                        INFO: Did not find the assembly in WinSxS.                                        INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT.DLL.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT.MANIFEST.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.                                        INFO: Attempt to probe manifest at C:\Program Files\Adobe\Adobe InDesign CS5.5 Server x64 Debug\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.                                        INFO: Did not find manifest for culture Neutral.                              INFO: End assembly probing.          ERROR: Cannot resolve reference Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

 

On the same server I have the Release version of 5.5 and it starts up with no issue. What's the point of the Debug/Developer version if it doesn't start? Do I need to reach out to my Adobe rep for answers on this?

 

Thanks for any help/tips/pointers.

 

~Allen

 

 

Message was edited by: AJDValien

Failed to export the JPEG file: Maximum size exceeded

$
0
0

When exporting a page to JPEG you might get the following error message:

 

"Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

 

After some research I believe this maximum size for the resulting JPEG is set to 32767 pixels. This is the maximum value of a signed short.

Anyone can verify if this is correct?

 

 

 

Another similar error message you might get is:

 

"Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

 

I would like to know how this limit is calculated.

 

 

Test case:

 

InDesign document of 2000 mm x 2000 mm

    

    Export JPEG, format method 'BASELINE', dpi 416

          -> result preview of 32756 pixels     (2000 mm = 78,740157 inch * 416 dpi = 32756 pixels)

          => preview is exported

     Export JPEG, format method 'BASELINE', dpi 417

          -> "Failed to export the JPEG file: Maximum size exceeded. Try decreasing the resolution."

          => max size exceeded

 

     Export JPEG, format method 'PROGRESSIVE', dpi 416

          -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

          => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

     Export JPEG, format method 'PROGRESSIVE', dpi 225

          -> "Failed to export the JPEG file: Not enough memory. Try decreasing the resolution."

          => Within the max size boundaries, but not within the max memory boundaries. How is this calculated?

     Export JPEG, format method 'PROGRESSIVE', dpi 224

          => preview is exported

Indesign server CC 2015 trial license issue

$
0
0

I am really struggling to start InDesign server on my Windows 8 machine. I did following steps after spending lot of time:

1) Download trial server

2) Installed it on my machine

3) Download APTEE and run it

4) run command - adobe_prtk --tool=startTrial --leid=InDesignServer-CC-Win-GM

 

But still no joy! Can anyone help me on this

InDesign Server Load Balancing Queue (LBQ)

$
0
0


We are trying to use Adobe InDesign Server Load Balancing Queue (LBQ) on a Windows Server.  The LBQ starts and funcitons, but it stops for unknown reason and we need to restart it.  Is there something we need to do to make sure it continues to run and not shut down?

Indesign Server CS4 service is not starting on Windows Server 2003 64bit

$
0
0

Hello guys,

 

I am not able to start Indesign Server CS4 service on windows Server 2003 SP2 64bit .

I have successfuly configured the service with InDesignServerService.msc, set the port to 18555. InDesignServerWinService the Log On option is set to "This Account". Also tried using different accounts!

 

When starting the indesign service from windows Service control panel I get this error:

Could not start the InDesignServerService x64 service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.

 

Error log from windows Event viewer:
Error
Timeout (30000 milliseconds) waiting for the InDesignServerService x64 service to connect.

 

Indesign server application works if launching from command line with the specified port 18555.

If trying to lauch IndesignServerService.exe from command line, there is a delay and finally nothing happens.

 

I have also tried launching 32bit indesign server service and the same error comes.

 

Would be grateful for your thoughts!

 

Message was edited by: Andrewdev Server specs: Windows Server 2003 Standard x64 Edition Service Pack 2 Intel Xeon CPU 3.00Ghz 9.76 GB of Ram Server is running virtualy on Xen hypervisor, there is no antivirus and windows firewall is disabled.


Javascript - added images display as grey boxes

$
0
0

I am attempting to add an Image to an InDesign document via a javascript that I am executing via the RunScript() soap method of InDesign Cs4 server.  The script I am using to add an image is something similar to this:

 

var imageFile = File("//c/images/animage.pdf");
var imageGraphic = myDocument.pages.item(0).place(imageFile, null, imageLayer);
imageGraphic = imageGraphic[0];
var imageFrame = imageGraphic.parent;
imageFrame.geometricBounds = [IMAGE_TOP_Y, IMAGE_TOP_X, IMAGE_BOTTOM_Y, IMAGE_BOTTOM_X];
imageFrame.fit(FitOptions.proportionally);
imageFrame.fit(FitOptions.frameToContent);

 

The script adds the image correctly, but when I pull up the document with InDesign, the Images are displayed as grey boxes.  I am able to fix this within InDesign designer by manually setting the "Display Performance" to "High Quality" through the menus, but I need to handle this via the script run on the server.  I attempted to update the script to the following:

 

var imageFile = File("//c/images/animage.pdf");
var imageGraphic = myDocument.pages.item(0).place(imageFile, null, imageLayer);
imageGraphic = imageGraphic[0];
var imageFrame = imageGraphic.parent;
imageFrame.geometricBounds = [IMAGE_TOP_Y, IMAGE_TOP_X, IMAGE_BOTTOM_Y, IMAGE_BOTTOM_X];
imageFrame.fit(FitOptions.proportionally);
imageFrame.fit(FitOptions.frameToContent);

 

//HERE IS THE NEW LINE
imageFrame.localDisplaySetting = DisplaySettingOptions.HIGH_QUALITY;

 

This script runs without problems within the CS4 ExtendScript Toolkit on my local pc.  However, when I run the script against the InDesign CS4 server, I get the following error:

 

Error Number: 55
Error String: Object does not support the property or method 'localDisplaySetting'

 

Does anyone have any advice on how I should proceed?  My main goal is to have the image display correctly without the grey box.

IDS on WinServer 2008 Location of joboptions files

$
0
0

I am attempting to find where to put my joboption file on Windows Server 2008. Indesign Desktop is not installed on this server, nor can it be. I tried

C:\Users\Administrator\AppData\Roaming\Adobe\Adobe PDF\Settings

 

The job option file I am attempting to use is: PDFX1a 2001.joboptions

 

but my javascript that works locally does not on the server. My function call is:

 

mydoc.exportFile(ExportFormat.pdfType, File(file), app.pdfExportPresets.item("[PDF/X-1a:2001]"));

 

but that results in an error as the item is not found.

 

Any help would be appreciated.

 

Thanks,

 

Mike

Indesign Server CC Trial issues

$
0
0

The installation instructions states

 

You need to download Adobe Provisioning Toolkit Enterprise Edition (APTEE) for using the InDesign Server trial

 

The download link only refers to CS6, CS5.5 & CS5 not CC

Since there is no Adobe Provisioning Toolkit Enterprise Edition for CC I decided just to install and run the trial.

 

However I got the Adobe InDesign Server is not properly licensed and will now quit message.

According to the CC Release notes it says:

 

InDesign CC Server needs to be activated before it can be used. If the computer is online, activation is done automatically when you install. You need to provide your Adobe ID, and serial number when prompted by the installer. Unless the software is activated, you'll see an error, "Adobe InDesign Server’ is not properly licensed and will now quit."

 

My computer was online yet the it seems it didn't perfom the automatic activation as it suggests. When I entered my AdobeID credentials I did not get any errors saying it could not connect online.

 

So I had to do something and decided to use the Adobe Provisioning Toolkit Enterprise Edition for CS6.

This allowed me to get pass the licensing issue.

 

The next problem was I was getting DDE Server Window:InDesignServer.exe System Error popup. Telling me The program can't start because svml_dispmd.dll is missing from your computer.

 

C:\Program Files\Adobe\Adobe InDesign CC Server x64>indesignserver
================================================================================

.  InDesign CC Server Version 9.0 x64 Evaluation
.  Copyright 1999-2013 Adobe Systems Incorporated and its licensors.
.  All rights reserved. See the other legal notices in the ReadMe.
================================================================================

11/28/13 08:08:49 INFO  [server] Initializing
11/28/13 08:08:49 INFO  [server] Loading the application
11/28/13 08:08:49 INFO  [server] Scanning for plug-ins
11/28/13 08:08:49 INFO  [server] Registering 113 plug-ins
11/28/13 08:08:53 INFO  [server] Completing Object Model
11/28/13 08:08:53 INFO  [server] Saving Object Model
11/28/13 08:08:53 INFO  [server] Initializing plug-ins
11/28/13 08:08:53 INFO  [server] Calling Early Initializers
11/28/13 08:08:53 INFO  [server] Starting up Service Registry
11/28/13 08:09:02 INFO  [server] Executing startup services
11/28/13 08:09:02 INFO  [server] Using configuration configuration_noport
11/28/13 08:09:02 INFO  [server] Initializing Application
11/28/13 08:09:02 INFO  [server] Completing Initialization
11/28/13 08:09:02 INFO  [server] Calling Late Initializers
11/28/13 08:09:08 INFO  [server] Image previews are off
11/28/13 08:09:08 INFO  [server] Server Running
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\startup scripts\ConnectInstancesToESTK.js
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\startup scripts\ConvertURLToHyperlinkMenuItemLoader.jsx
11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

So after browsing the net to see where I can get this missing svml_dispmd.dll I found this post http://software.intel.com/en-us/forums/topic/285859

and decided to install what it suggested.

I still got the missing dll error so I copied it from C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler into C:\Program Files\Adobe\Adobe InDesign CC Server x64

 

Now it just sits there and hangs at the same spot

11/28/13 08:09:08 INFO  [javascript] Executing File: C:\Program Files\Adobe\Adobe InDesign CC Server x64\Scripts\converturltohyperlink\ConvertURLToHyperlinkMenuItem.jsxbin

 

What the heck is going on here?

 

 

I have installed Indesign Server CC on another machine and although I did not get the missing dll problem it still however hangs at the same spot mentioned above.

Could someone from Adobe please help. The already I'm losing days with this trial and I will have little days left to test this product.

Why can't I download Indesign CC? It keeps saying I have a server error.

$
0
0

I just purchased the cloud...I have been trying to download Indesign CC and everytime it asks me to login, I do as such, and then it tells me that an Unknown Server has occured. This has been going on for quite some time...is there something wrong with my compatibility? Is there a direct link that can be provided to download Indesign? And I am not talking about the trial. Is my fire wall blocking it or what? Because I have purchased the cloud and I feel like I'll be wasting my money if I can't even download anything. If there is another way to download the programs, can I do that without accessing the website?

InDesign Server CC - AppleScript - activate document

$
0
0

We have an issue to run our AppleScripts with the CC version. It seems that something has changed regarding how to activate ("talk to") a document in InDesign Server CC.

This script changes the behaviour of printing inks in ink manager. With CS5, it runs, with CC i got an error.

 

tell application "Adobe InDesign Server"

   

    activate

   

    set myDocument to document 1

   

    tell myDocument

       

        set docInks to inks

       

        repeat with x from 1 to count docInks

           

            if is process ink of item x of docInks is false then

               

                set convert to process of item x of docInks to true

               

            end if

           

        end repeat

       

    end tell

   

end tell

 

 

I assume the line

set myDocument to document 1

works no longer.

Which is the right expression?

Viewing all 20709 articles
Browse latest View live


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