?
Solved

Passing "dead" callbacks via DCOM, and timeouts

Posted on 1999-01-21
4
Medium Priority
?
355 Views
Last Modified: 2010-05-03
I'm using VB6 and NT4 SP3 and DCOM.
I have a single threaded server assigning jobs to a multi-threaded worker. The server passes callbacks to the worker. If this owner of this callback object (a client on another machine, passed via DCOM to the server) has been terminated then the server waits 100 seconds whilst trying to pass the callback to the worker, and then times out.

Is it possible to check if the callback is valid, instead of having to wait for 100 seconds for the timeout? Or is it possible to change this timeout value to something smaller?

Thanks in advance,
Fred Forsyth, Software Engineer.
0
Comment
Question by:fredforsyth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
covington earned 300 total points
ID: 1469903
Try setting App.OleServerBusyTimeout to a value of 1000. The published default (in help) is 10,000, but I think it's really 100,000.

0
 

Author Comment

by:fredforsyth
ID: 1469904
I tried the above and it did indeed reduce the wait from 100 seconds, but I couldn't get it to go below 35 seconds. If this is a problem with the OS then I will accept your answer, but is it possible to get a smaller wait?
0
 
LVL 3

Expert Comment

by:covington
ID: 1469905
I haved used this to reduce the timeout below 30 seconds. The important thing to remember is that the delay applies from the time that the client recognizes that the server is busy, not from the inital time that the call is made. Does this make sense?

Other than that cryptic piece of information, I'm afraid that I don't have much more to offer.


0
 

Author Comment

by:fredforsyth
ID: 1469906
Thanks for the help.
Fred.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question