HighTechTalks DotNet Forums  

Server Busy Dialog Box

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss Server Busy Dialog Box in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Joe
 
Posts: n/a

Default Server Busy Dialog Box - 01-29-2005 , 12:25 AM







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



Reply With Quote
  #2  
Old   
Daniel Petersson, Cefalo
 
Posts: n/a

Default RE: Server Busy Dialog Box - 01-29-2005 , 03:39 AM






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.



"Joe" wrote:

Quote:
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




Reply With Quote
  #3  
Old   
Shellie
 
Posts: n/a

Default RE: Server Busy Dialog Box - 05-22-2009 , 02:50 PM



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.htm

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

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.