Discussion:
Server Busy Dialog Box
(too old to reply)
Joe
2005-01-29 06:25:50 UTC
Permalink
When using a web service I currently have sometimes I get a dialog box
"Server Busy", not that I mind being told that but I would like to delay it
from coming up so quickly.

Is there a setting somewhere for a timeout time for this dialog box?


Thanks
Joe
Daniel Petersson, Cefalo
2005-01-29 09:39:02 UTC
Permalink
Hi,

If you are using COM interop, which I suppose you do since this this is a
interop newsgroup, the message box is due to COM apartment issues.
In short you are making a outbound call from a COM Single Threaded
Apartment, STA, but before this call has completed, another thread is
doing an inbound call to your apartment and since it is a STA this inbound
call is blocked by the Stub and Windows pops up this message box as
a possible last solution to this deadlock situation. (Normally the outbound
call has caused the inbound call and wont return until the inbound call
has completed which it never will since it is blocked by the STA)

Depending on your type of application there are many solutions to this
problem, search google or here for COM STA deadlock problems for
further help on this issue.
Post by Joe
When using a web service I currently have sometimes I get a dialog box
"Server Busy", not that I mind being told that but I would like to delay it
from coming up so quickly.
Is there a setting somewhere for a timeout time for this dialog box?
Thanks
Joe
Shellie
2009-05-22 19:50:20 UTC
Permalink
See this link to disable

APPLICATION.OLERequestPendingTimeout = 0

http://support.microsoft.com/kb/240809

From http://www.developmentnow.com/g/21_2005_1_0_0_48052/Server-Busy-Dialog-Box.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com/g/

Loading...