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

C# app throws error when connecting to indesign server

$
0
0

It throws this exception:

Invalid syntax (Exception from HRESULT: 0x800401E4 (MK_E_SYNTAX))
   at System.Runtime.InteropServices.Marshal.MkParseDisplayName(IBindCtx pbc, String szUserName, UInt32& pchEaten, IMoniker& ppmk)
   at System.Runtime.InteropServices.Marshal.BindToMoniker(String monikerName)

 

Caused by this line:

InDesignServer.Application app = (InDesignServer.Application)(System.Runtime.InteropServices.Marshal.BindToMoniker("config uration_noport"));

 

The server is successfully running with the no configuration parameters therefore the configuration name by default should be "configuration_noport".

 

Any idea why it's throwing this error? This is a C# 4.0 console application connecting to Indesign Server CS 5 (7.0).


InDesignServer Service not starting on Windows Server 2003 (32bit & 64 bit)

$
0
0

Note: this issue is different from this thread on a similar issue.

 

This problem has plagued me for weeks and I finally give up. InDesign Server installs successfully and the InDesignServerService starts, but the server does not run. I can only run the server from the command line. I've followed these installation instructions but run into the following problems:

 

1. installing by the command line: InDesignServerService /install fails and produces the following error log:

 

Installing service InDesignServerService...

Creating EventLog source InDesignServerService in log Application...

Rolling back assembly 'E:\Program Files\Adobe InDesign CS4 Server\InDesignServerService.exe'.

Affected parameters are:

   logtoconsole =

   assemblypath = E:\Program Files\Adobe InDesign CS4 Server\InDesignServerService.exe

   logfile = E:\Program Files\Adobe InDesign CS4 Server\InDesignServerService.InstallLog

Restoring event log to previous state for source InDesignServerService.

2. I cannot install or load the snap-in to MMC. When I try to install regsvr32 InDesignServerMMC.dll it cannot be found (as it's not in the InDesign Server directory). However InDesignServerMMC64.dll is in there and I was able to load the snap-in using regsvr32 InDesignServerMMC.dll, but the server still only runs when being started from the command line.

 

As I mentioned, InDesign Server runs fine when I have an active command line window open and run InDesignServer, but the moment I close the command line window, the server shuts down. Any ideas?

Newbie: How to use InDesign with ASP.Net site?

$
0
0

I'm a total newbie with InDesign, and have been tasked with developing a sample ASP.Net mini app to figure out if we can use InDesign to replace Quark in an existing site.  Here are the details, and I'm hoping someone here can point me in the right direction to get this going.

 

I will have InDesign templates available with text and image placeholders (can be one or many of each).

I need to create an ASP.Net web application where:

- Users can select one of the available templates

- Enter their own text to plug into the text placeholders

- Upload their own images to plug into the image placeholders

- Preview the resulting document on the screen

- Click a button to generate a PDF version of this document and view/save it.

 

It sounds simple, and I'm sure it is, but I can't find detailed information on how to do it and, since I'm completely unfamiliar with InDesign, I'm a little lost.  I know ASP.Net, I just don't know where to start to use InDesign Server (or client, I don't know) from .Net code.

 

Any help with this would be greatly appreciated and rewarded.


Thanks in advance!!

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 CS4 on VMWare Win 2003 missing omniDynamic412_vc8_rt.dll

$
0
0

I am unable to lauch IDS on an install on WMWare Windows 2003 server. IDS keeps crashing looking for "omniDynamic412_vc8_rt.dll".

 

I am running the release version of server, not the debug version. There is no development environment on the VMWare image.

 

I have read the adobe technote and I am running the correct indesignserver.com file. I have removed, rebooted and reinstalled but I am receiving the same error. Is anyone running ids in a similar configuration?

 

Any ideas?

 

Thanks,

 

Mike

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

How to speed up InDesignServer performance

$
0
0

Hello everyone.

 

I have some critical problem, so I want you help me.

 

My project using Flex and InDesign Server to produce pdf.
Plex in the form of the xml passed to the server and
InDesignSever open template file(*.indd) and  process the xml information and submitted to create a pdf.

The problem is speed.

InDesignServer to read the template file takes a second.
To modify one second, and creating and storing pdf takes a second.


It can take 3 seconds total. How to handle it in 0.5 seconds suggestions?

 

Thank you,

Lion, J

Automate Indesign With VB.NET

$
0
0

Hi,

 

I need some advice from you. I will explain my current condition and suggest me the solution.

 

Currently We are using PageMaker 6.5 to create the packages, these packages contains all the PDF Documents links with Table of Contents.

 

using VB6 applicaiton, we are opening the created package file and printing the package file and closing the package file using DDE commands.

 

I wants to replicate the same thing in VB.NET. we are planning to replace Pagemaker 6.5 with some other product. We thought we might use Indesign.

Please suggest , how to automate the Indesign with VB.NET, and Is it suitable replacement for Pagemaker 6.6?

 

Thanks,

Sreenivas


Cannot connect to Indesign Server process

$
0
0

We have Indesign Server CS 5.5 (with all patches installed) running inside a Virtual Machine. Our application (c#) also runs in a virtual machine with full admin priv.

 

Only 1 instance of Indesign Server is configured (using the MMC snap in) and uses the configuration name test (-configuration test) set in the command line arguments.

 

InDesignServer.exe is started by the service InDesignServerService.

 

The problem is that the service starts InDesignServer.exe with an unknown configuration name....so our application cannot connect to it. It should be using the configuration name set using the MMC snap in (-configuration test in this case). I also tried specifying the configuration name in the service startup parameters (using services.msc)...that did not work either. \

 

IndesignServerService DOES create the configuration name folder in C:\ProgramData\Adobe\InDesign Server\Version 7.5\en_US\ but it just doesn't register the configuration name in the Running Objects Table so our application cannot use it.

 

If we manually started InDesignServer.exe from command line using: InDesignServer.exe -configuration test, our application can connect to it. If we start it manually using command line, the configuration name is registered in the Running Objects Table.

 

How can we fix this so the service starts InDesignServer.exe and registers the configuration name in the running objects table?

 

The code we use to connect to the InDesignServer is the same one in the adobe documentation:

string instanceName = "configuration_noport";

dynamic app = (System.Runtime.InteropServices.Marshal.BindToMoniker(instanceName));

 

It only works if we start it manually from command line....it does not work if we let the service start it.

ExtendScript Toolkit cannot launch InDesign CS6 Server

$
0
0

I have installed the trial version of InDesign Server CS6 on Windows 2008 and am trying to run scripts against it using the ExtendScript Toolkit, but it is not working. When I select "Adobe InDesign CS6 Server" from the drop-down list in the upper left, I get an alert box that says "Cannot launch target Adobe InDesign CS6 Server!". When expanding the details box it just repeats that same message.

 

I can start InDesign fine using either the command line or the windows service and it responds to requests. As far as I can see, it is just ExtendScript that is having problems with it.

 

I have combed through the event logs and can't find anything there indicating what the problem might be. I have also googled everything I can think of looking for a solution with no luck.

 

Has anyone else run into this? Any suggestions on a solution or at least where I might be able to track down a useful error message that says why it can't launch InDesign?

Best Practices for CS6 - Multi-instance (setup, deployment and LBQ)

$
0
0

Hi everyone,

 

We recently upgraded from CS5.5 to CS6 and migrated to a multi-instance server from a single-instance. Our current applications are .NET-based (C#, MVC) and are using SOAP to connect to the InDesign server. All in all it is working quite well.

 

Now that we have CS6 (multi-instance) we are looking at migrating our applications to use the LBQ features to help balance the workload on the INDS server(s). Where can I find some best practices for code deployment/configuration, etc for a .NET-based platform to talk to InDesign?

 

We will be using the LBQ to help with load management for sure.

 

Thanks for any thoughts and direction you can point me to.

 

~Allen

The server hardware configuration of IndesignServer ?

$
0
0

I'm going to use IndesignServer within the enterprise network to establish a platform for online editing, there are about 200 users, the server hardware configuration, please?

Cannot start trial InDesign Server CC Mac

$
0
0

Following the instructions here:

http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/c reativesuite/pdfs/Adobe_Provisioning_Toolkit_Enterprise_Edition_v5.pdf

 

I run the following command:

 

./adobe_prtk --tool=StartTrial --leid=InDesignServer-CS6-Mac-GM

 

This is the response:

 

          Copyright 2012 Adobe Systems Incorporated

          All rights reserved.

StartTrial Successful

Return Code = 0

 

Then I go run InDesign Server:

 

ERROR[server] Adobe InDesign Server is not properly licensed and will now quit.

Usage: InDesignServer [options]

 

What is going on?

InDesign Server - License

$
0
0

Hi,

 

I want to have InDesign Server trial for ever for one my cloud product in which I am tring to demo. After the demo user can either purchase InDesign server themself or plug-in my tool with their existing InDesign server. If I use InDesign Server 90 days trial, after 90 days, will it stop to work or continue to work with water mark? I am fine to have water mark even from the first day. I email to Adobe asking "InDesign Server Developer Free License" but no response. Please advise.

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 CS6でエラー発生、原因と対処方法を教えてください。

$
0
0

InDesign Serverを利用中、下記2件のエラーが発生しました。

原因、及び対処方法をご存知の方がいらっしゃれば、教えてください。

 

When we use the InDesign Server, two issue case were occurred below:

If you find any causes, solutions , please reply for this comment.

 

 

OS: Windows Server 2008 R2 Standard

a)

Faulting application name: indesignserver.exe,

version: 8.0.1.406,

time stamp: 0x5033740b

Faulting module name: ntdll.dll,

version: 6.1.7601.17514,

time stamp: 0x4ce7c8f9

Exception code: 0xc00000fd

Fault offset: 0x0000000000054f4a

Faulting process id: 0x1334

Faulting application start time: 0x01cf2cd301390b3b

Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\indesignserver.exe

Faulting module path: C:\Windows\SYSTEM32\ntdll.dll

Report Id: b5097170-993c-11e3-90ff-001018c9f90e

 

b)

Faulting application name: indesignserver.exe,

version: 8.0.1.406,

time stamp: 0x5033740b

Faulting module name: AFL.dll,

version: 1.0.0.0,

time stamp: 0x4ed884f4

Exception code: 0xc0000005

Fault offset: 0x00000000000017c5

Faulting process id: 0x149c

Faulting application start time: 0x01cf72c2a380404f

Faulting application path: C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\indesignserver.exe

Faulting module path: C:\Program Files\Adobe\Adobe InDesign CS6 Server x64\AFL.dll

Report Id: 8526a06c-df2e-11e3-a6c7-001018c9f90e

How to run Indesign CS3 as a Service with Port number

$
0
0
Hello all,

I would like to run the InDesign CS3 Server as a service on Windows. It seems that after installing the Server it automatically installs as a service. But where can I assign the port number. If under Services properties of InDesign Server under Parameters I mention -port 1050 on Ok button it removes the parameter information.

I am doing right or is there some other way to start the Server as Service with Port number.

Thank you all in advance.

Regards
Farzana.

Problem wit Java via ORB: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No

$
0
0
I try to use the Java API to drive an InDesign Server CS3.<br />I have set up Windows Services for two InDesign Server instances, both using diffenrent prots and different IOR Files.<br /><br />When I try to connect the Adobe Java SampleClient (from teh SDK. Adobe InDesign CS3 Server SDK\samples\sampleclient-java-corba) I can connet to InDesign one or two times.<br /><br />After that i get an Exception on the next try:<br />org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No<br /><br />same thin occours when I use the precompiled java program musing the sampleclient.bat.<br /><br />One strange thing could be encountered here. I definitely do not use port: 2512" as mentioned in the error message. I use port 2267n and it works for just two client calls (after each restart of the InDesign Service).<br /><br />any hints?<br />What ist the thing about OmniOrb? Do I have to install somthing except the adobe InDeign Server and the SDK?<br /><br />many thanks in advance<br />Joachim<br /><br />sampleclient.bat's output:<br />--------------------<br />C:\Programme\Adobe\Adobe InDesign CS3 Server SDK\samples\sampleclient-java-corba<br />\scripts>java -classpath "..\lib\sampleclient-java-corba.jar;..\..\..\lib\InDesi<br />gnServerAPI.jar" com.adobe.ids.SampleClient -iorfile "c:\Temp\InDesignCS3Server2267ior.txt" "C:\Workshops\InDesignServer\WWPScripts\SavePageAsJpg.jsx"<br />28.10.2008 17:21:36 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImp<br />l <init><br />WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR<br />_TEXT; hostname: 192.168.1.152; port: 2512"<br />org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No<br />        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U<br />nknown Source)<br />        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(U<br />nknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(<br />Unknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(<br />Unknown Source)<br />        at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create<br />Connection(Unknown Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin<br />Request(Unknown Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(Unknow<br />n Source)<br />        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.is_a(Unknown S<br />ource)<br />        at org.omg.CORBA.portable.ObjectImpl._is_a(Unknown Source)<br />        at com.adobe.ids.basics.ApplicationHelper.narrow(Unknown Source)<br />        at com.adobe.ids.SampleClient.main(Unknown Source)<br />Caused by: java.net.ConnectException: Connection refused: connect<br />        at sun.nio.ch.Net.connect(Native Method)<br />        at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)<br />        at java.nio.channels.SocketChannel.open(Unknown Source)<br />        at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket<br />(Unknown Source)<br />        ... 9 more

Debugging Javascript on InDesign CS3 Server

$
0
0
I, like most developers, need to be able to debug my programs. Thus far I have been opening a file and writing to it if I want to see any debug messages. It looks like this...

my_log = createLogFile("filename",app,true);
add_to_log(my_log, debug_string);
my_log.execute();

This would create a file called "filename.txt", add the value of debug_string to the my_log object, then write the log to a file using execute.

However, this approach is not very helpful when doing loops for example. If I have a loop that is breaking my script and I want to check a value that is changing inside a loop I have to create a file, add the error to the log, and execute (write) the log for each pass in the loop. For instance:

for (var i = 0; i < some_array.length; i++) {
my_log = createLogFile("debug_log"+i, app, true);
add_to_log(my_log, some_array[i]);
my_log.execute();
...
whatever is normally in here
...
}

This is the only way I can figure out which item in my array is breaking the script. So, my ultimate question is this:

How do I debug an InDesign server javascript program? Can I write to STDOUT, or STDERR? Some other way? Thanks for any and all help.

_ Sean

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.

Viewing all 20709 articles
Browse latest View live


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