C# app throws error when connecting to indesign server

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).

Can anyone from Adobe please offer some more insight on this matter? I have encountered the excact same issues and not been able to find any answers or clues.
Test Steps involved:
- start a named indesign server instance in a cmd using: indesignserver -configuration testServer (and seeing that it's using 'testServer' when starting up)
- running a sample using BindtoMoniker() always works using VS and the built-in dev WebServer and connects to my named instance 'testServer' but never with IIS.
- tried to grant as much as possible to IIS pool identity, DCOM settings etc...no luck
- impersonating as Admin in code and making sure the current thread is authenticated, no luck
- all I can is to fire up new COM instances with IIS using the new:... syntax but not get the named one

Similar Messages

  • When the system status says icloud is OK but it reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    When the system status says icloud is OK but logon reports "encountered an error when connecting to the server", where do you report the problem, or how do you connect?

    Yes i am hoping staff here will look into things, even if i can not get the speeds back what i previously had for near 6 months it would be nice to know why i can not and why the download has dropped by around 10Mb and why my upload is now inconsistant.
    Ironically the post concerned got edited because i actually posted the full rather silly reply the Indian call centre made babbling on about down rates rather than the uprate i queried with them.
    Bit of a shambles really no real way on BTs web site to contact anyone with regards to broadband issues.
    The form which you kindly suggested and i appreciated your help ended up in the hands of someone who either did not bother to read the query or just had such a poor grasp of English they did not understand the query.
    Pretty pathetic really when BT are the largest telco in the UK. I think ill be taking my broadband business elsewhere regardless at the end of my 18 month contract, while im sure staff here are wonderful and may even yet help me, i do not particularly want to go through the almost like pulling teeth pain of getting any future issue looked at.
    They are great at quickly fixing voice line problems and have a great test on their site. Broadband side of things and support for that though seems a shambles.

  • Unidentified error when connecting to Mysql server

    Hello,
    I have two computers. Both computer 1 is configured with dreamweaver cs5 and is successfully connected to the ftp server and its database.
    Computer 2 on the other hand with the same version of Dreamweaver and the same settings gives me an unidentified error when I try connecting to the database. I spoke to help chat for my server and confirmed all of the fields are entered in correctly and that I have allowed access to my server from any IP!
    I have tried re-installing !
    Localhost with Xampp works also!
    No success !

    Are you using any firewall/antivirus on computer 2?
    If so, try to disable and then try,
    Also make sure you have the Admin rights on Comp2.
    Thanks
    Harshit

  • User not found error when connecting to MDM server using NWDS

    Hi,
    I am getting the error as " User not found " when i am connecting to MDM server from the code written in NWDS.
    If i make that user as admin in usermapping in MDM den it works fine bt if that user is not admin den get the error as user not found.
    Please help.

    Hi,
    Thanks for the reply.
    I have added the user in user mapping in MDM server. but i have to give the authority as admin.
    other users who are added in usermapping bt not assigned as admin are getting the error.

  • D4O-1014 error when connecting to Application Server-- OracleBI Discoverer

    Hi everyone,
    I try many approaches even remove all dimensions and cubes, still has the error msg when connecting to OracleBI Discoverer Version 10.1.2.2.
    Oracle Database is 9.2.0.7.0
    D4O-1014: An unknown exception had occurred while connecting to the database
    Do you have any hint or suggesion?
    Thanks.

    First : make sure you have a backup of your AW data model.
    I think you will find there are some additional CWM/CWM2 dimensions/cubes owned by SH in the metadata catalogs that do not actually exist. I cannot remember all the commands but if you look in the OLAP documentation for 9i one of the OLAP manuals refers to the CWM_ and CWM2_ views and the PL/SQL packages that can be used to remove the dimensions and cubes. I think all the offending objects will be owned by the user SH but check before you delete anything.
    Once you have removed the old objects run the following commands as the OLAPSYS user:
    exec CWM2_OLAP_METADATA_REFRESH.MR_REFESH;
    exec CWM2_OLAP_METADATA_REFRESH.MR_AC_REFESH;
    Also make sure you do not assign the OLAP_DBA role to your user, only assign OLAP_USER role.
    Hope this helps
    Keith Laker
    Oracle Data Warehouse Product Management
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • I'm trying to use the public library to access my icloud email and I keep getting an error message stating icloud is encountered an error when connecting to the server.  Please help.

    I am trying to access my icloud email via a public library and I keep receiving an error message that icloud is experiencing a problem connecting to the server.  Please assist.

    How are you trying, using a web browser?

  • App throws error when loading in browser for the first time

    I have designed an app for outlook which I am testing in the web version of office. When I first click on the app it says there is a problem loading the app and I have to press reload. The app is a asp.net app but the most of the code is an angular SPA. Is there a way of stopping this error.
    Chris

    Hi,
    The platform requires that Office.js is invoked within 5 seconds of us navigating to the page of where your app is. Can you make sure that you are adding the Office.js script at the very top of the page?

  • Files in archive and throws error when connected it thru Import mger

    Hi all,
    File which was in archive folder i copied it to desktop and connected it thru Import manager with same port and map.
    But i could not able to import this xml file because 1 field value was not mapped in the IM as this filed was look up to some other
    table and value not existed in dat table.
    How is possible dat the file is in archive folder when 1 field value is not mapped and it shud be in Valuex folder.Please help as i
    am facing this problem in my project.
    Regards
    sharath

    Hi Ravi,
    I checked what you are saying its integer type in that edit key mapping.I think its a bug in MDM because when i tried sending the
    same file which was in archive its giving exception.
    Ex: Identifier : Look up table, fields : Code (integer) and others
    values in table :(1,2,3...)
    xml file : - <Identifier>
      <Change_Date>24:09:2011:00:31:03</Change_Date>
      <Change_User>PI</Change_User>
      *<code>CCOD</code>*
      <Value>:1008</Value>
      <Value_Norm>:1008</Value_Norm>
      </Identifier>
    Regards
    Sharath

  • C# error when connecting to ldap server that does not exist

    When using Novell.Directory.Ldap.dll and making a connect to an ldap
    server which does not exists i'm getting the following error:
    Connection.freeWriteSemaphore(-2): semaphore not owned by any thread
    Im using this to connect: conn.Connect(ldapHost, ldapPort);
    This error is not catched by LdapException. Can anyone tell me if this is
    a bug or do I have to do something different.

    Hi. I'm using version 2.1.11 of the NDK for CSharp. I'm getting this
    same error message:
    Code:
    Connection.freeWriteSemaphore(-2): semaphore not owned by any thread
    at Novell.Directory.Ldap.Connection.freeWriteSemaphor e(Int32 msgId)
    at Novell.Directory.Ldap.Connection.connect(String host, Int32 port, Int32 semaphoreId)
    at Novell.Directory.Ldap.LdapConnection.Connect(Strin g host, Int32 port)
    at TestLDAP.Program.Main(String[] args) in D:\Documents and Settings\tjbuege\my documents\visual studio 2010\Projects\TestLDAP\TestLDAP\Program.cs:line 20
    This occurs when I try to bind to a server that does not exist. Here
    is my sample source code that generates that error:
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Novell.Directory.Ldap;
    namespace TestLDAP
    class Program
    static void Main(string[] args)
    LdapConnection conn = null;
    string host = "server.does.not.exist.com";
    int port = 389;
    try
    conn = new LdapConnection();
    conn.Connect(host, port);
    catch (Exception ex)
    Console.WriteLine(ex.Message);
    Console.WriteLine(ex.StackTrace);
    if (conn != null)
    conn.Disconnect();
    Is there a fix for this? It makes this library useless for me.
    Thanks,
    Tim
    tjbuege
    tjbuege's Profile: http://forums.novell.com/member.php?userid=108957
    View this thread: http://forums.novell.com/showthread.php?t=365082

  • Cisco Persistent Chat error when connecting to DB server

    When we want to configure it and check the connection it says, is in menu Messaging --> external setup --> external databases (in IM Presence Administrator). We use a postgresql server on linux and can connect to the db via other clients as test. What can be wrong? We did not enable ssl for this connection, you cannot even select ssl, is grayed out!
    Verify external database server connectivity (database connection check)
    The following Cisco Unified IM and Presence Service node to external database server connections failed:
    xxxxx.xxxx.xxx >> pchat (Persistent Chat)
    With message:
    One or more parameters are invalid. Please check them once again.
    If the 'Enable SSL' field is unchecked and the External Database chosen in the 'Database Name' field is SSL enabled, please check the 'Enable SSL' field and choose the certificate that corresponds to the chosen External Database and save your changes.
    If the 'Enable SSL' field is checked on the External Database Settings page then the following steps could help resolve the connectivity issue:
    Please try refreshing the page after 60 secs of saving the changes.
    Please verify if the Certificate chosen in the 'Certificate Name' field is valid and corresponds to the chosen External Database in the 'Database Name' field.
    If the problem persists, please restart the Cisco XCP Config Manager Service.

    Hi,
    As mentioned in the following configuration article, for earlier versions of SQL Server where MARS was not an option, the way to configure is to have server-side cursors configured.
    (check out the tabulated column next to MARS_Connection for details)
    http://www.easysoft.com/products/data_access/odbc-sql-server-driver/manual/configuration.html
    To use server-side queries in the connection URL, pls go through this link
    http://www.oracle.com/technology/products/jdev/howtos/bc4j/bc_psqlserverwalkthrough.html
    But please note that server-side cursors does have a performance overhead.
    Let me know if you need more information.
    HTH,
    Lakshmi.

  • -13005 Error when connecting to 2003 Server

    I've got a 2003 Server setup with Active Directory and I've enabled SFM (Services for Macintosh), and created a few mac shares.
    I created a new account and left the "User must change password at next logon" option enabled, something I don't usually do.
    I then went to my 10.4.7 client machine and tried to connect via AFP to the 2003 Server. It presented me with the following error:
    Connection Failed:
    -13005
    I went back and reset the password for the user and did not enable the "user must change password at next logon" option and I was able to login with no issues at all.
    I ran some tests using Mac OS X 10.4.0 thru 10.4.7.
    From 10.4.0 thru to 10.4.5 I did not see the aforementioned issue, I was prompted by the OS that I needed to change my password, and I was then able to do so.
    From 10.4.6 thru 10.4.7, I see the issue. So what's the difference?
    The major difference I've found is that the User Authentication Method being used by default in 10.4.0 - 10.4.5 is "Clear Text", whereas with 10.4.6 - 10.4.7, the OS is deciding to use "Microsoft UAM 3.0".
    If I change SFM from "Apple Clear Text and Microsoft" to "Apple Clear Text" then I don't see the problem under 10.4.6 and 10.4.7. This is logical as the only UAM the OS can use at this point is Clear Text.
    I've also tried using Group Logic's ExtremeZ-IP product instead of SFM and I do not see the issue, this is because EZIP supports the DHX UAM, and the OS will use that instead of it's MS UAM (note that the UAM is Apple's pre-installed version, and NOT the version you can download and install from Microsoft).
    I've also tried changing the password for a user account that did not have "require password change at next logon" set and it does not work if the UAM being used by the OS is "Microsoft UAM 3.0", in this siutation I see a "Password change failed -50" error dialog.
    So it would appear the issue is with Apple's "Microsoft UAM 3.0".
    Has anyone else encountered this issue, if so, did you find a workaround that did not involve using ExtremeZ-IP? or setting the authentication options in SFM to "Apple Clear Text"

    Very possibly this is due to differences in AFP protocol versions.
    Windows Server has not updated its AFP protocol since version 2.2. Mac OS X uses version 3.1 for Panther and 3.2 for Tiger. Possibly incremental changes are occuring between minor OS updates as well. Just a thought.
    Hope this helps!
    bill
    1 GHz Powerbook G4   Mac OS X (10.4.7)  

  • What to do when you have internet connection but go to use an app, you get the Error message, 'An error occurred connecting to the server. Please make sure you have an internet connection' ?

    Yesterday, I downloaded the twoignite app. When I went to open the app to use, this error message appeared: An error occurred connecting to the server. Please make sure you have an internet connection. I checked my connection and found I had a solid connection. I have tried closing the app and reopening it; deleting the app and redownloading it (more than once); turning off my iphone and turning it back on. None of these things have worked. Thanks.

    Have you already seen this:
    http://forums.adobe.com/message/5099439#5099439
    Maybe you could also try asking in the kuler forum.

  • SSL error when connecting in SAP HANA Cloud Portal tutorial

    Hi,
    I'm going through the tutorial for SAP HANA Cloud Portal - SAP HANA Cloud Portal Developers Tutorial
    Unfortuanatelly I have problems with deploying public destinations (page 9).
    When I try to deploy the destination for the CRM back from the command console using neo command with relevant parameters and entering my password I get the following error:
    ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuraiton/api/rest; server certificate might be invalid or untrusted.
    Logfiles.
    Session log
    2014-08-18 15:53:59,579 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager$1: Get connection: HttpRoute[{s}->https://configapi.hanatrial.onedemand.com], timeout = 0 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] total kept alive: 0, total issued: 0, total allocated: 0 out of 20 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: No free connections [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,581 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Available capacity: 2 out of 2 [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:53:59,582 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Creating new connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]] 2014-08-18 15:53:59,729 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnectionOperator: Connecting to configapi.hanatrial.onedemand.com/216.128.6.149:443 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection closed 2014-08-18 15:54:00,035 DEBUG [main] org.apache.http.impl.conn.DefaultClientConnection: Connection shut down 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager: Released connection is not reusable. 2014-08-18 15:54:00,036 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Releasing connection [HttpRoute[{s}->https://configapi.hanatrial.onedemand.com]][null] 2014-08-18 15:54:00,037 DEBUG [main] org.apache.http.impl.conn.tsccm.ConnPoolByRoute: Notifying no-one, there are no waiting threads
    Console log
    2014-08-18 15:53:56,080 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Starting execution of command [get-destination] 2014-08-18 15:53:56,086 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] init() finished for [1] ms 2014-08-18 15:54:00,038 INFO  [main] com.sap.jpaas.infrastructure.console.CommandManager: Command [get-destination] cleanup() finished for [0] ms 2014-08-18 15:54:00,046 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleClient: (!) ERROR; SSL error when connecting to https://configapi.hanatrial.onedemand.com/configuration/api/rest; server certificate might be invalid or untrusted com.sap.jpaas.infrastructure.console.exception.ValidationException at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:97) at com.sap.jpaas.infrastructure.console.command.UnsecuredRemoteCommand.getHttpClient(UnsecuredRemoteCommand.java:57) at com.sap.core.connectivity.config.cmd.ConfigurationConsoleCommand.createHttpClient(ConfigurationConsoleCommand.java:254) at com.sap.core.connectivity.config.cmd.GetAction.download(GetAction.java:79) at com.sap.core.connectivity.config.cmd.GetAction.run(GetAction.java:52) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:295) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:260) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:235) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:85) Caused by: com.sap.core.utils.infrastructure.validation.HostValidationException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:304) at com.sap.jpaas.infrastructure.console.command.RemoteCommand.getHttpClient(RemoteCommand.java:95) ... 8 more Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:397) at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128) at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:390) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776) at com.sap.core.utils.infrastructure.validation.LandscapeHostValidator.getHttpClient(LandscapeHostValidator.java:284) ... 9 more
    BR
    Beata

    Hi Beata,
    The CRM scenario is working again. We had to re install the Connector and deploy a new proxy app.
    Therefore you would need to download the code from the GitHub repository again. The changes you need to do on your side:
    1. Redeploy the new crm__public destination file - the updated destination now points to the new location of the proxy application
    2. Update the code of the registration form scripts (form.js and form.spec.xml).
    Regards,
    Ido

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello;
    I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the live data on report everytime
    the report is run so that I call that stored procedure (sp_updatedata) inside my report dataset stored procedure and here where my report fails as it throws error while creating dataset.
    Here is sample:
    sp_updatedata (this only returns "Command(s) completed successfully"
    Create Proce sp_getReportData
    As
    Begin
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Select * from customers
    End
    If I remove this line it works.
    Exec sp_updatedata -- I call it to update the data before it displays on the report
    Thanks
    Essa Mughal

    Hi MESSA,
    According to your description, you create a dataset based on a stored procedure. In this procedure, it calls another procedure. Now it throws error when creating dataset. Right?
    In Reporting Services, when creating dataset, all the query or stored procedure will be executed in SSMS. So if the procedure can be executed in SSMS, it supposed to be working in SSRS. However, it has a limitation in SSRS. In a dataset, it can only return
    one result set.
    In this scenario, I don't think it's the issue of calling other procedure inside of procedure. Because we tested in our local environment, it works fine. I guess the sp_updatedata returns a result set, and the "select * from customers" returns
    another result set. This might be the reason cause the error.
    Reference:
    Query Design Tools in Report Designer SQL Server Data Tools (SSRS)
    Reporting Services Query Designers
    If you still have any question, please post the error message and the store procedure (sp_updatedata).
    Best Regards,
    Simon Hou

  • Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'

    Excel is throwing error when it click print : 'No printers are installed. To install a printer click the File tab, and then click Print. Click No Printers Installed, and then click Add Printer. Follow the instructions in the Add Printer dialog box'
    Word, and powerpoint application are working fine.  
    Environment :  Windows 7 64-bit, MS Office 2013 64-bit
    Steps to recreate
    (i)  Create new user account and add to any group ( do not log on using this
     account)
      (ii)  runas /user:<new user account>  <fullpath>\excel.exe
       it will ask password so enter on command prompt
    (iii)  open any excel document  and click File->Print
      (iv)  verify result  (it is failing) it pop ups below error
     Error:`Microsoft Excel
     No printers are installed. To install a printer click the File tab, and then click
     Print. Click No Printers Installed, and then click Add Printer. Follow the
     instructions in the Add Printer dialog box.                                                                                                               

    Sorry for late reply i was not at work
    I have a default set excel is still throwing error. Interestingly winword , powerpoint and publisher are working fine. I am able to print from all office applications except Excel.
     Probably excel behaves differently from other office applications.
     Probably it is a bug in excel
    Workaround : Log on to a system once using newly created account then runas excel using this account then print works fine.
    It means something in user profile should be configure to run excel print operation. Could you please somebody help what I need to configure in user profile that makes print operation success?

Maybe you are looking for