MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Server is Busy

This is a discussion on Server is Busy within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all I have a VB6 application with MapPoint control inside, I have developed a custom menu that is shown ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-14-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Server is Busy

Hi all

I have a VB6 application with MapPoint control inside, I have developed a custom menu that is shown when the user right clicks a certain pushpin.

If the user doesnt select one of the options in 10 seconds he gets the "Server is Busy" message.
I also have a window that is opened through the right click menu, If the window stays open for 10 seconds the user again gets the "Server is Busy" message.

I tried changing the OleRequestPendingTimeout, OleServerBusyTimeout
and OleServerBusyRaiseError but it isnt working at all.

I have searched this forum and the web for some time with no result.

Does anyone have an answer for me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 12-16-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Hi,

I see same problem using Delphi 5 with MP 2003 using a custom popup menu. I have no direct exaplanation, because the application _is_ processing messages, so wy the heck is this 'server busy' come from ? The same message (and _that_ one seems more normal to me) is when the applications does not respond to messages, eg if it is tight in a loop for longer than 10 seconds (which is abnormal behaviour of course).

rgds, Wilfried
http://www.mestdagh.biz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi,

I just ran into that problem again and solution is very simple. When the popup menu pops up then start a timer for 9 seconds, in the Timer evet just post a <Escape> key message. Then the untouched popup dissapears, it is workaround, but anyway more nice than the 'server busy'

Code:
   keybd_event(VK_ESCAPE, 0, 0, 0);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Server Busy

Using C# and .NET. Have embedded MapPoint control on a simple form (i.e. OwnerForm).
As soon as I popup a anotherform (i.e. DetailForm) as a modal dialog from inside the OwnerForm, and do nothing for 10 seconds, the server busy message is generated and no way to interupt or to abort is. If however I call the Details as a modeless (MDI-child) form all goes well.

Beats me.

Downing the form on a timer, I do not consider a solution.


Anyone out there who knows the answer?


regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,177
Hi,

I know it is all workaround, because dont know the reason also. I have a few MDI app's with mappoint and several normal apps. The popup menu problem is only in the MDI apps. The modal form problems is also only with mdi-childs. In my MDI's the few forms that need modal are therefore not MDI childs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
busy, server


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
server busy problem! Anonymous MapPoint 2006/2009 Discussion 8 01-02-2005 03:04 AM
Server Busy Sylvain MapPoint 2006/2009 Discussion 21 09-18-2004 04:25 PM
Timer and Server Busy Anonymous MapPoint 2006/2009 Discussion 0 07-07-2004 02:59 AM
Server Busy Message fix in .Net matnace MapPoint 2006/2009 Discussion 0 05-11-2004 11:48 AM
Server busy ... svchost is 99% CPU Anonymous MapPoint 2006/2009 Discussion 1 10-17-2003 07:42 AM


All times are GMT -5. The time now is 12:51 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Madeira Holiday
Why not book a Madeira holiday through UlookUbook and enjoy this warm Portuguese island at a bargain price!



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59