Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Passing "dead" callbacks via DCOM, and timeouts

Posted on 1999-01-21
4
Medium Priority
?
357 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

618 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