Donate Share

j-Interop : Java - COM Interoperability

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Error while handling two different sessions

You are viewing a single message from this topic. View all messages.

  1. 2009-09-02 14:14:55 UTC
    Hi Vikram,
    I am trying to solve my problems. i have already posted 2 messages here, but no reply. :(. It is really frustrating now. I have tried different ways to create the email body from the doc file. but whenever the diffent application object it returned, i got following error.
    org.jinterop.dcom.common.JIException: The object invoked has disconnected from its clients. [0x80010108]
    at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:797)
    at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:753)
    at org.jinterop.dcom.core.JIComObjectImpl.call(JIComObjectImpl.java:209)
    at org.jinterop.dcom.core.JIComObjectImpl.call(JIComObjectImpl.java:114)
    at org.jinterop.dcom.win32.JIDispatchImpl.getIDsOfNames(JIDispatchImpl.java:101)
    at org.jinterop.dcom.win32.JIDispatchImpl.put(JIDispatchImpl.java:383)
    For example: when i tried MailItem.GetInspector.WordEditor which returns word document object (not related to outlook) i am not able to call any of it's methods. similarly when i tried to use Document.MailEnevelope.Item which returns Mail Item (not related to word). i got the same above error.
    Is this a bug? or i need to do casting or something other to get the object properly? Is this a session problem? Do i need to open two simultaneous sessions for both applications outlook and word?
    Please help me. I am stuck. I am trying to solve this issue from two weeks.......
    Hope i get solution ASAP...
    Thanks,
    Ads.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.