Re: BeginInvoke freezes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I assume by your description that you call BeginInvoke on the UI thread. Is
there a reason your doing this? As shown this will "freeze" your UI for any
long running operation like waiting for a network reply so no other events
are processed on UI Q until return or DoEvents(). I would just use a worker
thread and only post back results to the UI after success/failure/progress.

--
William Stacey [MVP]

<leonard.guillaume@xxxxxxxxx> wrote in message
news:1144414186.639268.33330@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Hi,
|
| I'm having random problems with BeginInvoke function. I have 2
| WebServices (VB.Net), the first one is the main ws and the second is
| the backup in case that the primary server crash or goes offline.
|
| My client, which is also in VB.Net tries to connect to the first
| webservice and has a timeout of 60 seconds. If it can't connect, it
| tries on the backup. The timeout is 60seconds because I'm using a
| 56kmodem.
|
| The problem is that randomly, the function BeginInvoke, which I use to
| call my WS async will freezes. Sometimes, the primary ws will respond
| correctly, but the backup will crash. Sometimes they both freezes
| BeginInvoke...anyway you see my point. It's very hard to debug
| somethings that is random and all the data my client is sending to the
| ws are valid. The BeginInvoke freezing gets my client GUI to freeze.
|
| Any hints ?
|
| Thanks :)
|
| Guillaume L.
|


.



Relevant Pages

  • RE: Computer Freeze prevents Backup
    ... Drive and/or the Sonic BackUp Software. ... is a genuine "freeze" which has sometimes occured after the installations ... Applications may have provided you with a Bootable Disc, ... As for System Restore: if you also have Norton Antivirus, ...
    (microsoft.public.windows.mediacenter)
  • RE: Computer Freeze prevents Backup
    ... be the same as the Sonic Backup My PC. ... Your Event Viewer logs may throw some light on the problem. ... is a genuine "freeze" which has sometimes occured after the installations ... As for System Restore: if you also have Norton Antivirus, ...
    (microsoft.public.windows.mediacenter)
  • RE: SBS 2008, Exchange Backup fails backup marked as completed suc
    ... I also dismounted both mail databases (public folders and mail ... and the /mh returned an info that the exchange backup hasn't been run ... There is another problem with the same server. ... No service has been started prior to the freeze ...
    (microsoft.public.windows.server.sbs)
  • Re: NTBackup Freezing Server
    ... I installed the hotfix you linked to, but the server still froze during ... system state backup. ... Could there be an issue with AD & VSS? ... see if you still get the freeze during backup. ...
    (microsoft.public.windows.server.sbs)
  • Re: Absolute Poker 1st Impressions
    ... > I Like Absolute, the layout an lobby are great, best lobby Ive seen. ... > The client sucks bigtime though. ... Windows also freeze up and so on and it's clearly due to memory ...
    (rec.gambling.poker)