Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2007

Tip: Looking for answers? Try searching our database.

Webservice call hangs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nano2k - 10 Nov 2007 09:17 GMT
Hi

I have a pretty serious problem.
I have developed a winforms app that calls a webservice using .NET
Framework 1.1 with C#, IIS 5.1. and SQL Server 2000 server.
After installing the WS, I have installed few client applications.
3 of them are facing a problem that can be easily reproduced as
follows.
The user starts the application and logs-in (authentication against
the WS), then opens a form and work a bit (this means other serveral
calls to the WS. Then, the user stops working with the application
(e.g. gets a cup of coffe, waists some time chatting, sends some e-
mails, etc).
After an arbitrary period of time, the user remembers he/she has to
work and gets back to the application.  We found out later that this
period of time is related (but I could say equal) to Connection
Timeout setting of the web site in IIS (default 900 seconds).
Now comes the bomb. The first call to the WS will freeze. It seems
that the WS receives the request, processes it, but the response never
gets back to the client. In turn, the client will wait forever (or
some huge amount of time) to receive the response. Note that I set the
proxy that connects to the WS to wait forever because the client may
initiate some calls that may take hours.
Only 3 installed machines are affected by this problem. Others work
fine.
Client machines run on XP, the server machine runs on Win2003 server.
I kow for sure that the 3 problematic machins have NOD32 installed.
Don't know others.

Any idea?
Thanks
nano2k - 10 Nov 2007 09:46 GMT
> Hi
>
[quoted text clipped - 27 lines]
> Any idea?
> Thanks

I found the solution to my particular problem here:

http://groups.google.ro/group/microsoft.public.dotnet.framework.performance/brow
se_thread/thread/fbb7f898035a13c7/4d8ebf394da5a68e?hl=ro&lnk=st&q=System.Net.Soc
kets.OverlappedAsyncResult.CompletionPortCallback#4d8ebf394da5a68e


Check the last post of Marshall Brooke there.
Indeed, the problem was NOD32, but disabling it didn't fix the
problem. Only uninstalling it worked.
As Marshall Brooke said, I have also faced similar problems with
McAfee antivirus. The same, only uninstalling really did fix the
problem.
Pretty unbelievable, many time-consuming issues have simple solutions.
We started 2 days ago debugging the application with no luck at all.

Hope this will also help somebody.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.