Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 5 of 5

Server is Busy

This is a discussion on Server is Busy within the MapPoint Desktop 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 ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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?

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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

  3. #3
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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&#40;VK_ESCAPE, 0, 0, 0&#41;;

  4. #4
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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

  5. #5
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Server Busy
    By Sylvain in forum MapPoint Desktop Discussion
    Replies: 22
    Last Post: 05-07-2014, 07:28 PM
  2. server busy problem!
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 8
    Last Post: 01-02-2005, 04:04 AM
  3. Timer and Server Busy
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 07-07-2004, 03:59 AM
  4. Server Busy Message fix in .Net
    By matnace in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-11-2004, 12:48 PM
  5. Server busy ... svchost is 99% CPU
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-17-2003, 08:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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