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

Indesign call takes too much time

$
0
0

From cold fusion application, whenever changes are done to the file saving it through service calls takes too much time even close to an hour. Anything we might be missing?


Problems with Updating InDesign CC Server from 9.0 to 9.2

$
0
0

Hi,

 

I'm using an InDesign Server CC in Version 9.0 with Windows Server

 

When i will update to 9.2 or 9.2.2 i got error message:

 

 

This patch is not suitable for you. Looking over the menu "Help" of the product to check for updates to get a list of available current updates.

 

 

But the InDesign Server is an command-line program without the Help-Menu.

 

anyone knows the problem?

Retrieve cs6 server serial number?

$
0
0

Is it possible to retrieve the CS6 server license number from an existing CS6 server installation?

Picture with profile causes crash

$
0
0

I load xml with InDesign Server CS6 into an existing template. The resulting document includes inline graphics. I duplicate the picture and then try to delete the original picture. For some reason IDS crashes (only on Windows) if the picture contains color profiles and metadata.

If I get rid of the profile and metadata the picture can be deleted.

Has anybody an explanation for this, or even better a solution?

Thank you,

Ralf

Which action can throws this COMException?

$
0
0
Hi there,

sometimes and not really reproducible I get the following COMException:

System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at InDesignServer._Application.get_Documents()
at MyApplication.openDocument(String filename)
at [...]

As you can see, the exception is thrown anywhere behind my openDocument function. Since the error occurs only sometimes I want to know which action (method call, property access, whatever) makes use of InDesignServer._Application.get_Documents()?

These are the accesses I do on the COM-application:
InDesignApp.Open(theFilename)
ActiveDocument = InDesignApp.Documents.FirstItem
ActiveDocument.ViewPreferences.HorizontalMeasurementUnits = idMeasurementUnits.idMillimeters
ActiveDocument.ViewPreferences.VerticalMeasurementUnits = idMeasurementUnits.idMillimeters
ActiveDocument.Converted
ActiveDocument.Save(theFilename)
InDesignApp.Documents.Count
InDesignApp.Documents.LastItem.Close(InDesignServer.idSaveOptions.idNo)

So which one is the suspect?
I think this can only be answered by the Adobe crew...

How to call InDesign SOAP?

$
0
0
I'm new to InDesign server. I started InDesign server using command indesignserver port 18383. Running HelloWorld.jsx via TestClient is working fine . But now I need write a PHP program to call InDesign SOAP API. I did some searching but I could not figure out what the parameters and path are. My InDesign server is on 192.168.0.150:18383
and I'm using PHP 5's SOAP extension. If there is sample code, that would be great. Any help would be appreciated.

1, Where I can find following information:
What is Method Name? such as SomeFunction
what is Endpoint? such as URL http://x.x.x.x:8080/soap
what is SOAPAction? such as urn:xmethods-delayed-quotes#SomeFunction
what is Method Namespace URI? such as urn:xmethods-delayed-quotes
What is Input Parameters?
What is Output Parameters?

Or
2, use wsdl - but what is the path of some.wsdl? and what is SomeFunction? I know there is function called RunScript

Following are some sample PHP code I need:

$client = new SoapClient("some.wsdl");

$client = new SoapClient("some.wsdl", array('soap_version' => SOAP_1_2));

$client = new SoapClient("some.wsdl", array('login' => "some_name",
'password' => "some_password"));

$client = new SoapClient("some.wsdl", array('proxy_host' => "localhost",
'proxy_port' => 8080));

$client = new SoapClient("some.wsdl", array('proxy_host' => "localhost",
'proxy_port' => 8080,
'proxy_login' => "some_name",
'proxy_password' => "some_password"));

$client = new SoapClient("some.wsdl", array('local_cert' => "cert_key.pem"));

$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/"));

$client = new SoapClient(null, array('location' => "http://localhost/soap.php",
'uri' => "http://test-uri/",
'style' => SOAP_DOCUMENT,
'use' => SOAP_LITERAL));

$client = new SoapClient("some.wsdl",
array('compression' => SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP));

$server = new SoapClient("some.wsdl", array('encoding'=>'ISO-8859-1'));


Thanks

Robert

using indesign files in asp.net

$
0
0
hi friends,

I am building an application in asp.net in which my task is to create a pdf file by using the Adobe Indesign CS2 in asp.net.

I am using the code which is found from the net but on running this is given an error That:

"System.UnauthorizedAccessException: Access is denied."

now tell me about this error and what i have to do to achieve this task. this is really urgent one

atleast reply if u don't know the answer also please.......

Here's my code::

Imports System
Imports System.Data
Imports System.Configuration
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
' Imports System.Web.UI.WebControls.WebParts
Imports System.Web.UI.HtmlControls
Imports InDesign

Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load


Dim cstrInddFile As String = Server.MapPath("~/Archieve/yourstory_backcover1.indd")
Dim cstrXMLFile As String = Server.MapPath("~/Archieve/xml1.xml")
Dim cstrOutputFile As String = Server.MapPath("~/Archieve/out.pdf")

Dim indAppType As Type = Type.GetTypeFromProgID("InDesign.Application")
Dim objInDesign As InDesign.Application = DirectCast(Activator.CreateInstance(indAppType, True), InDesign.Application)
Dim objDoc As InDesign.Document = DirectCast(objInDesign.Open(cstrInddFile, False), InDesign.Document)

objDoc.ImportXML(cstrXMLFile)

Dim objPreset As InDesign.PDFExportPreset=DirectCast(objInDesign.PDFExportPresets.LastItem(),InDesign.PDFE xportPreset)
objDoc.Export(idExportFormat.idPDFType, cstrOutputFile, False, objInDesign.PDFExportPresets("Press"))

End Sub

End Class

InDesign server CS 5.5 - app.scriptArgs.get doesn't work in jsx script or simpleclient problem

$
0
0

Hello

 

I'm working with Adobe InDesing Server CS 5.5 and having problem that *.jsx script is not able to read input parameters passwd from sampleclient.exe or SOAP (same story in both cases)

I run following command:

 

     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" param1="1"

also

     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" param1=1

and even

     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" "param1=1"

 

 

app.scriptArgs.get("param1") is always FALSE (see script body below).

Please help, I couldn't find an answer anywhere. All documents stats that this should work in a way I described, but it doesn't. Script is performed but param1 is not set.

 


Here is the script:

#target  InDesignServer

app.scriptPreferences.version = 7.0;

 

main();

function main()

{

  var eRet;   

 

 

  if (app.scriptArgs.get("param1"))

  {

    var sXMLFilePath = "C:\\CreateJPEG.xml";

    var eRet = app.createJpeg (sXMLFilePath);

  }

}


Scripts:Application:myscript.jsx not found

$
0
0

Hi,

 

I want to run a script in InDesign Server CS6 Windows. The script is in the subfolder <InDesign Server>/Scripts and I call it as follows:

 

sampleclient.exe -host localhost:18383 -server -Scripts:Application:myscript.jsx

 

This works fine in the debug version of the InDesign Server, but not in the release version. What's going wrong here?

 

Markus

I am facing difficulties activating InDesign CS6 server

$
0
0

I'd like to share with you my frustration about InDesign CS6 Server which tries to do the very same as shown above, but apparenty noone at Adobe did think about the fact that ID Server has NO GUI. So as a customer youre left with an Installation that provides NO means for later offline activation, but provides the very same link at installation, basically guiding you through a process that can not be accomplished with ID Server by any means.

Moreover, the Installer claims there is a 7-day grace period until you MUST have activated your license but even with entering a valid code the Server wont start from second ONE, stating "Adobe InDesign Server is not properly licensed and will now quit". This sort of misdesign is what makes customers furious! And then they wonder why people use circumvention technologies.

Adobe InDesign sever setup

$
0
0

Hello I hace an Adobe InDesign Server CS6 multi-instacen license,

now one instance is not taking benefit of all the server powerful. I would like to setup the instance to take more memory.

For example my server (mac pro server) has 64 GB RAM and one instance is taking just 2GB (approx) as maximum.

 

Can I setup this issue?? how can I do it??

 

It would be usefull is I can fix that issue for CS 5.5 too.

 

Regards

Indesign server CC trial help

$
0
0

I have programmed Applescript and Indesign for desktop for years.

I have a solution that should work well with Indesign server and applescript.

Downloaded the Trial for Indesign Server CC.

Then you have to figure out how to activate the product, which i think i have done via this command :

 

adobe_prtk --tool=StartTrial --leid=InDesignServer-CS7-Mac-GM

 

Now that its not compaining about being activated i can see that the sample applescripts provided in the install can compile.

If i run them however i get a failiure thats odd.

 

tell application "Finder"

          get startup disk

                    --> "CWFM1:"

          exists "CWFM1:ServerTestFiles"

                    --> true

          exists "CWFM1:ServerTestFiles:bob.indd"

                    --> false

end tell

tell application "InDesignServer"

          close every document saving no

          make new document

                    --> document "Untitled 3"

          save document "Untitled 3" to "CWFM1:ServerTestFiles:bob.indd"

                    --> error number -1728

Result:

error "InDesignServer got an error: Can’t get document \"Untitled 3\"." number -1728 from document "Untitled 3"

 

 

The folder is chmod'd to 777 so its not a read write issue.

 

if i just use the normal open command in applescript i get this error :

 

The document “bob.indd” could not be opened. InDesignServer cannot open files of this type.

 

which is just odd. its a normal empty indesign document with nothing in it!

 

 

has anyone got ideas?

 

 

 

Server is MacMini i7 with 16gb ram, OS X 10.8.5 server.

How to connect InDesign Server in Adobe Flash Builder (Adobe Flex Web Application) ?

$
0
0

I am starting to create a user interface using flex but how should i start connecting it to InDesign Server?

Can someone help me please.

How to access the objects without selection in InDesign server?

$
0
0

Hello All,

 

I'd like to have the below details in JS using InDesign Server:

 

(1) Selection of a textframe

(2) Selection of a graphics

(3) Selection of grouped frames

 

Please advise.

 

Thanks,

 

Praveen

Connecting Via COM with Indesign CC Server

$
0
0

Hi

We are currently using Adobe CS5 Server - and connecting to it VIA COM.

We are looking to upgrade to Indesign CC Server - but we want to know if we can still connect to it via COM ?


Best Regards

Martin


Is InDesign Server really the only solution for me?

$
0
0

I'm an independent developer working on a data management platform (which I would like to commercialise at some stage but certainly not right now). The primary reason for developing this is to form the base for another system I'm developing with a small independent school to help them manage all of their administrative tasks more effectively. This means that more or less every need, in terms of document production, management and publication must be supported by a system that they use.

 

Below is what I need from the system where document production is required. I'm just wondering if someone can help me get some perspective on whether or not InDesign server is my only option. The core of the systems are web based, hosted with MS (Azure) and built using C# on an SQL background. I'm not even sure about how I would run an InDesign server instance to link with this setup but that is a separate challenge (suggestions welcome).

 

Document features already managed.

  • Document storage, version control and management (multiple formats etc) - already handled very simply in code with the file storage and the SQL DB.
  • Production of Invoices (and other billing documents), reports, newsletters, company documents, letters, contracts, surveys, posters, adverts... (etc. etc. - you see where this is going)
    • Generating documents from templates (preferably InDesign produced and uploaded to the server) - content can be presented as XML (or whatever is needed as it will be translated when pulled from the database) as PDFs. Ability to export in other formats would be preferable but PDF is the most generally useful.
    • Simple modification of templates. This bit is less important as the system will contain most of the templates that will be required but being able to make some layout changes within the system would be really useful to give some flexibility to the user without having to leave the system.

 

Essentially, I need to be able to do everything in code so that the system can spit out documents as required without them having to think about layout or design. From everything I've heard about the costs of InDesign server and having looked at the subscription costs for printui - it is far too expensive for a business that operates on a very small budget. At present, this system will just be used by them - and that may well only ever be the case so I'm starting worry about what I can do. I am aware of the PDF creation libraries available to simplify document production and am also considering that route. This whole project is largely about labour saving to reduce costs on the business, so being able to just create InDesign templates and upload them would be the ideal solution for us.

 

I hope that someone is able to offer some help or just talk through ideas with me as this whole area of the system is slowing progress quite significantly.

PHP SOAP Client for InDesign Server

$
0
0
Hi,<br />I am new to IDS and I am writing my diploma thesis about working with IDS. I need some help or ideas how I can implement a SOAP-Client for IDS with PHP.<br /><br />I am working with PHP 5's SOAP-Extension and know that there is one function "runScript". But when I try to send a SOAP-Message I get some error like "The required SOAP element "RunScriptParameters" could not be found Please check the SOAP Message that was send to InDesign Server."<br /><br />Thats my code:<br /><br /><?php<br /><br />$client = new SoapClient('http://localhost/IDSP.wsdl');<br /><br />$client->__call('runScript',$params);<br />?><br /><br />How should I fill the array '$params'?<br /><br />Thanks,<br />Christoph

IDML to PDF using Java API

$
0
0

Hi,

 

   I have created an IDML with template through the Indesign GUI and have created the respective XML files(story,designmap,etc) and able to make the changes in it and display that in the UI. This is fine, my requirement is to use the Java API to pass the .idml file (which holds the template) and creates a .PDF out of this. I am unable to get any source code samples for this, this should be done through Java API and no scripting is allowed. I went through the IDML spec, but doesn't have any source code samples for the requirement. Hence, please do provide the source code samples to achieve this using Java API. Expecting positive response...

 

Thanks

Rithu

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

Can't Connect To Server

$
0
0

I recently had several Adobe programs downloaded to my mac laptop for my classes and major. My school downloaded these programs onto my laptop and in order to use these programs and share files with other classmates, we use a server to connect. I was wondering if there is anyway to use these programs without having to connect to the server. When I try to open InDesign, a message pops up that says "A connection to a network KeyServer is required in order to run this program.  Open KeyAccess and log on to a KeyServer."

 

I was hoping someone can guide me with a way to open InDesign without connecting to the server!

Viewing all 20709 articles
Browse latest View live


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