When debug: Call to WS hangs in thread after used in main thread

When debug: Call to WS hangs in thread after used in main thread

Post by TWFyY3V » Thu, 12 Oct 2006 17:50:03


I have a WS that runs in a production server.
it is running ok, when used from web-GUI, WS-studio, my compiled app.
But when running my console-app in debug it hangs.

Code:
1. Main: call WS (syncron)
2. Start thread (after step 1 is completed)
3. while thread.alive: sleep (500)
4. IN_THREAD: call WS (syncron)

The app hangs on step 4. (in all cases, even F5-run)
If step 1 is removed, step 4 works (even multiple times)
If step 1 is repeated, it is ok, but will of course hang in step 4

Running VS2005/VB.NET

Best Regards
Marcus Helgesson