473,670 Members | 2,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Service stops responding

I have a .NET web service running on a 2K box and IIS 5. We've experienced
it twice now where the service stops responding to any type of request after
running succesfully for a month or so. The service does not respond to the
consumer or to my browser pointing to the asmx file. An IIS restart fixed
the problem once but has also not fixed the problem. We had to go as far as
restarting Windows. Any ideas? Some configuration tweak that might help to
prevent something like this. As far as I know we are using the default
configuration values.

Thanks,
--
Dan S
Nov 23 '05 #1
9 6327
Dan S wrote:
I have a .NET web service running on a 2K box and IIS 5. We've experienced
it twice now where the service stops responding to any type of request after
running succesfully for a month or so. The service does not respond to the
consumer or to my browser pointing to the asmx file. An IIS restart fixed
the problem once but has also not fixed the problem. We had to go as far as
restarting Windows. Any ideas? Some configuration tweak that might help to
prevent something like this. As far as I know we are using the default
configuration values.

Thanks,


I think we're having similar problems ( see my post just before yours ).

I am also using IIS5;2K

Do you ever see any errors or 500 (Server Unavailable) messages?

I don't. From my client's side, it looks as if the web method is being
called just fine. From the server side, it looks as if the method was
never called!

Nov 23 '05 #2
Dan S wrote:
I have a .NET web service running on a 2K box and IIS 5. We've experienced
it twice now where the service stops responding to any type of request after
running succesfully for a month or so. The service does not respond to the
consumer or to my browser pointing to the asmx file. An IIS restart fixed
the problem once but has also not fixed the problem. We had to go as far as
restarting Windows. Any ideas? Some configuration tweak that might help to
prevent something like this. As far as I know we are using the default
configuration values.

Thanks,


I think we're having similar problems ( see my post just before yours ).

I am also using IIS5;2K

Do you ever see any errors or 500 (Server Unavailable) messages?

I don't. From my client's side, it looks as if the web method is being
called just fine. From the server side, it looks as if the method was
never called!

Nov 23 '05 #3
Sounds similar. But the consumer just hangs and never succeeds. However,
the service is returning some data - is your return type just a void? And
yes, I never get a 500 error, the logs for the service are empty as if it is
never called, and I don't see anything in the IIS logs either. Very strange.
What bothers me the most is that restarting IIS hasn't helped in some cases.
We've had to do a full reboot, which can potentially effect hundreds of
people.
--
Dan S
"ja*****@texeme .com" wrote:
Dan S wrote:
I have a .NET web service running on a 2K box and IIS 5. We've experienced
it twice now where the service stops responding to any type of request after
running succesfully for a month or so. The service does not respond to the
consumer or to my browser pointing to the asmx file. An IIS restart fixed
the problem once but has also not fixed the problem. We had to go as far as
restarting Windows. Any ideas? Some configuration tweak that might help to
prevent something like this. As far as I know we are using the default
configuration values.

Thanks,


I think we're having similar problems ( see my post just before yours ).

I am also using IIS5;2K

Do you ever see any errors or 500 (Server Unavailable) messages?

I don't. From my client's side, it looks as if the web method is being
called just fine. From the server side, it looks as if the method was
never called!

Nov 23 '05 #4
Sounds similar. But the consumer just hangs and never succeeds. However,
the service is returning some data - is your return type just a void? And
yes, I never get a 500 error, the logs for the service are empty as if it is
never called, and I don't see anything in the IIS logs either. Very strange.
What bothers me the most is that restarting IIS hasn't helped in some cases.
We've had to do a full reboot, which can potentially effect hundreds of
people.
--
Dan S
"ja*****@texeme .com" wrote:
Dan S wrote:
I have a .NET web service running on a 2K box and IIS 5. We've experienced
it twice now where the service stops responding to any type of request after
running succesfully for a month or so. The service does not respond to the
consumer or to my browser pointing to the asmx file. An IIS restart fixed
the problem once but has also not fixed the problem. We had to go as far as
restarting Windows. Any ideas? Some configuration tweak that might help to
prevent something like this. As far as I know we are using the default
configuration values.

Thanks,


I think we're having similar problems ( see my post just before yours ).

I am also using IIS5;2K

Do you ever see any errors or 500 (Server Unavailable) messages?

I don't. From my client's side, it looks as if the web method is being
called just fine. From the server side, it looks as if the method was
never called!

Nov 23 '05 #5

My return is void.

But here's the wierd thing on my side.

Knowing about this problem, what I do is a retry.

If there are 800 lines in the source, and I only see 500 web service
completes (by checking the database ) I run it again after waiting 3
minutes.

It usually works by at least the 3rd try!

Again the part that I find most bothersome is that to the code, those
calls look as if they were never made! They just disappear into the ether!

Dan S wrote:
Sounds similar. But the consumer just hangs and never succeeds. However,
the service is returning some data - is your return type just a void? And
yes, I never get a 500 error, the logs for the service are empty as if it is
never called, and I don't see anything in the IIS logs either. Very strange.
What bothers me the most is that restarting IIS hasn't helped in some cases.
We've had to do a full reboot, which can potentially effect hundreds of
people.

Nov 23 '05 #6

My return is void.

But here's the wierd thing on my side.

Knowing about this problem, what I do is a retry.

If there are 800 lines in the source, and I only see 500 web service
completes (by checking the database ) I run it again after waiting 3
minutes.

It usually works by at least the 3rd try!

Again the part that I find most bothersome is that to the code, those
calls look as if they were never made! They just disappear into the ether!

Dan S wrote:
Sounds similar. But the consumer just hangs and never succeeds. However,
the service is returning some data - is your return type just a void? And
yes, I never get a 500 error, the logs for the service are empty as if it is
never called, and I don't see anything in the IIS logs either. Very strange.
What bothers me the most is that restarting IIS hasn't helped in some cases.
We've had to do a full reboot, which can potentially effect hundreds of
people.

Nov 23 '05 #7
Have you observed anything in IIS logs?
Normally there is a file called W3SVC which has all the entries for the HTTP
web requests.
When you experience this situation next time, Please open the asmx file in
the browser and then look at the IIS log file.
Also look at eventviewer to find anything about the web service.
What is this web service supposed to do?
How is the memory consumption and CPU utliziation on that computer when this
kind of situation happens?
I know this is a very tricky situation.
We first have to find what the problem is and then go look for a solution.
Thanks
Deepak

"Dan S" wrote:
I have a .NET web service running on a 2K box and IIS 5. We've experienced
it twice now where the service stops responding to any type of request after
running succesfully for a month or so. The service does not respond to the
consumer or to my browser pointing to the asmx file. An IIS restart fixed
the problem once but has also not fixed the problem. We had to go as far as
restarting Windows. Any ideas? Some configuration tweak that might help to
prevent something like this. As far as I know we are using the default
configuration values.

Thanks,
--
Dan S

Nov 23 '05 #8
kntcnrg
2 New Member
I'm experiencing this problem and found that when using the SoapHeader, it needs to be initialized during the web service class constructor. This solved the issue for part of the problem, but I still get the same error.

[code]
public class SoapHeaderMessa ge : SoapHeader
{
public string UserName;
public string PassWord;
}

[WebServiceAttri bute(Namespace= "http://mylocalhostings ite")]
public class WebServiceClass : WebService
{
public SoapHeaderMessa ge soapHeader;

public WebServiceClass ()
{
soapHeader = new SoapHeaderMessa ge();
soapHeader.Must Understand = true;
soapHeader.User Name = ConfigurationSe ttings.AppSetti ngs["soapUserNa me"];
soapHeader.Pass Word = ConfigurationSe ttings.AppSetti ngs["soapPassWo rd"];

...
}

[WebMethod, SoapHeaderAttri bute("soapHeade r")]
public void myWebMethod()
{
...
}
}

Let me know what other solutions anyone comes across.
Apr 28 '06 #9
kntcnrg
2 New Member
I have found by using Ethereal's Network Analyzer that the packets changed from one namespace to another using my local machine for references to a live version of the app. Since the app uses SSL, I installed the certificate from the web server and the problem was fixed.

1. Use Ethereal Network Protocol Analyzer
2. Ensure that when using SSL, that the end-user computer has the certificate from the web server installed.

Hope this helps!
May 11 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1662
by: Lior M | last post by:
Hello everyone I'm having a little problem where my mysql 4.0.21 for some reason stops "responding" until I do a flush-hosts. This is happening almost every day. It's a pretty heavy loaded server with at aprox 130 querys per second (it might not be that loaded for some of you :) ). I'm using the my-huge.cnf config, and allowing 350 max-connections.
7
3277
by: mjkahn | last post by:
Everything runs fine for a while (weeks even), and then IIS stops responding to (or even logging) requests for ASP pages. HTML pages are served up just fine. I'm running Windows 2000 SP4, and IIS 5.0. Windows Update tells me I'm up to date on patches. The problem has happened three times on a production server and twice on a test server. I reproduced the problem on the test server after using the web stress-test tool--once right after...
3
2408
by: TM360 | last post by:
I realize this may not be the right group to post this, but I'm not having much success elsewhere so I thought I'd give it a try... In our application we have a link that opens a new window displaying the contents of a page that can be customized by our end users. When we call window.open() we save the resulting window reference so that if users navigate away from our application we can close the window. One of our customers has...
2
4149
by: Nils Hedström | last post by:
Today my stateserver (running at the same computer at the web-server) suddenly stopped responding (after 10 days working perfectly). I did not see any entry in the eventlog indicating that the service stopped responding. This is the entry in web.config --- <sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424" cookieless="false" timeout="20"/>
0
315
by: dotnet user | last post by:
I have a asp.net webpage which has aroud 20 steps as hyperlink. when start button is clicked, then step1 starts which does some operation in db and returns some value, based on that value i post the same page again to execute the next step. This continues untill the 20th step is executed. Now some steps, take lot of time to execute some queries(9 million row updates) in the database. So asp.net stops responding and do not continue to...
0
289
by: Dan S | last post by:
I have a .NET web service running on a 2K box and IIS 5. We've experienced it twice now where the service stops responding to any type of request after running succesfully for a month or so. The service does not respond to the consumer or to my browser pointing to the asmx file. An IIS restart fixed the problem once but has also not fixed the problem. We had to go as far as restarting Windows. Any ideas? Some configuration tweak that...
4
1122
by: Michael | last post by:
Hi Everyone, I hope someone else has had this problem. I recently started to use VS 2005 (vb.net) and today alone I have had to close VS 8 times while trying to code. I have a least 130 controls on this form. I go to the form to get the name of one of the controls and flip back to the code and paste the name into the code window. I can do this about 10 times maybe, then suddenly the IDE stops responding. The cursor switchs back and forth...
0
979
by: Developer111 | last post by:
I am developing a Windows Service Application in VB.net (using WMI). The application monitors for occurrence (Start) of any new event/ process in Win32 environment. The code which I am using for handling this monitoring event is as under:- WithEvents Watcher As ManagementEventWatcher Watcher = New ManagementEventWatcher(New WqlEventQuery("Select * From Win32_ProcessStartTrace")) AddHandler Watcher.EventArrived,AddressOf...
0
989
by: Developer111 | last post by:
I am developing a Windows Service Application in VB.net (using WMI). The application monitors for occurrence (Start) of any new event/ process in Win32 environment. The code which I am using for handling this monitoring event is as under:- WithEvents Watcher As ManagementEventWatcher Watcher = New ManagementEventWatcher(New WqlEventQuery("Select * From Win32_ProcessStartTrace")) AddHandler Watcher.EventArrived,AddressOf...
0
8469
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8592
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8661
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6213
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5684
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2800
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2042
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.