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 9 6290
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!
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!
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!
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!
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.
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.
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
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 SoapHeaderMessage : SoapHeader
{
public string UserName;
public string PassWord;
}
[WebServiceAttribute(Namespace="http://mylocalhostingsite")]
public class WebServiceClass : WebService
{
public SoapHeaderMessage soapHeader;
public WebServiceClass()
{
soapHeader = new SoapHeaderMessage();
soapHeader.MustUnderstand = true;
soapHeader.UserName = ConfigurationSettings.AppSettings["soapUserName"];
soapHeader.PassWord = ConfigurationSettings.AppSettings["soapPassWord"];
...
}
[WebMethod, SoapHeaderAttribute("soapHeader")]
public void myWebMethod()
{
...
}
}
Let me know what other solutions anyone comes across.
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!
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |