COM connection timeout issue

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




I have a very strange issue with COM connection and it times out after a
while. I have searched and I couldn't find any more details about it.

1. I have two processes running (A and B). Process B has implemented a COM
object and a Connection Point Container.

2. Process A calls a method implemented in Process B. In that method,
Process B displays a Modal Window. So, Process A waits until this Modal
dialog is closed.

3. Process A implements Connection point sink and listens to the event
notifications from Process B.

4. Process B sends notifications to Process B on a timed basis. These
notifications are received and processed by Process A without any issues for
some time.

5. After some time (20 + minutes) the notifications doesn't reach Process B.
The Invoke method of the connection point container returns "System Error",
when the notificaion is fired to Process A.

6. If we close the Modal dialog, the control returns back to Process A. If
Process A calls the same method, the call backs are received for a while
until the timeout time (20+ mins) and then stops.


Any of you have seen similar issues? I am just wondering if this timeout
value could be controlled by any registry entries or any API calls?

I would appreciate any help on this matter.

.



Relevant Pages

  • Re: Connectivity States (Wireless, Ethernet, & USB)
    ... point-to-point message queues and NDISUIO notifications. ... if an adapter has reestablished connection or lost it, ... information by itself to decide what the connection state is. ... there's also a new Sample of using the status monitor. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: COM connection timeout issue
    ... Process A implements Connection point sink and listens to the event ... Process B sends notifications to Process B on a timed basis. ... If we close the Modal dialog, the control returns back to Process A. If ... until the timeout time and then stops. ...
    (microsoft.public.win32.programmer.ole)
  • Re: EnumProtocols() does not work on Windows Vista and Windows
    ... I'm curious how you made the connection between this ... API and Exchange's notifications? ... not work - API fails and Exchange does not send UDP packets as expected. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Connection time TransmitFile
    ... When TransmitFile ends, ... connection ends, the SF_NOTIFY_END_OF_REQUEST and (if the TCP/IP connection ... is terminated) the SF_NOTIFY_END_OF_NET_SESSION notifications are called. ... Could you elaborate more on your concept of "connection time"? ...
    (microsoft.public.vc.mfc)
  • Re: if did Endora peer at first all the crops? We cant conceal constables unless Winifred will grea
    ... Let's cater unlike the dark natures, ... it will thereafter control the romance. ... in connection with me it's ... dependent wood won't pull before I relate it. ...
    (sci.crypt)