473,224 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,224 software developers and data experts.

IIS Services Stop - got no solution

Hello friends,
I think this issue has been posted before but i have not been able to get
any solution that is why i am posting it again in detail as to

what exactly is happneing in my case. Hope i will get solution this time.
Any help would be appreciated.

Now we are building dynamic websites. The Operating system that we have is
Windows 2000(not Advanced server not Profession), it just says

Windows 2000 Terminal, and the Web server that we have on it is IIS 5.0. The
scripting language that we are using for dynamic websites is ASP

and the database that we are connecting to is (which is hosted on another
server) is MSSQL. Everthing is behind the firewall and secured just

now.

Now we are lately getting this problem where our IIS services are getting
terminated unexpectedly. They have started behaving wierdly.
WE have to manually restart the service again to make our websties work.
Sometimes is WWw services, sometimes it SMTP service.
At times it also happens that the WWW service is working fine but the SMTP
is not, so i just start that service and i don't know if it

conflicts or what is it but then due to start of SMTP service the WWW
services gets stopped. So whenever such happens the best thing that i do

is stop the IIS services(WWW, SMTP and FTP) and start again. Then it works
fine but again next day some how it stops again.

As a result some of our sites (not all) but some of our websites that have
asp pages just don't display and the error message comes up in the

browser which is as follows

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HTTP/1.1 New Application Failed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I checked for this error. In most of the places it says that it is beacuse
of bad global.asa file, but it is the same file that which is being

working good since last 3 years and i checked it properly to make sure that
it was not corrupted, but the file is just fine.
However in the microsoft website it gives a totally different reason for
this error. Below is the link for the same.

http://support.microsoft.com/default...microsoft.com:
80/support/kb/articles/Q210/8/42.asp&NoWebContent=1
but this article is of also not use to me.
Also in my asp pages i am starting and closing the connections and
recordsets properly so i think even this is not a problem which is leading

to this error.

One strange thing i noticed is that when the services stop and this error
comes, it does not just come in all the website asp pages that we

have hosted. It just comes in 1 or 2 websites which is making me think if
this is website specific or what is it. And also everytime it is not

the same website that stops.
So this was all related to the Error message that comes on website.

Going back to the services being stopped, i read at few places and it said
that such a behaviour could happend when the computer is affected by

the Code Red or Code Red II worm.
So i downloaded the patch, installed it and ran it, also did the latest
windows update and then restrarted the computer, worked fine for a day

but again the same thing.
Also it didn't find any code red worm of if it did then the patch cleaned it
as it showed in the text file on the desktop after i restarted

that the worm if any has been cleaned.

I checked the event manager for viewing the Error messages and following is
what is shows

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~

Event Type: Error
Event Source: Service Control Manager
Event ID: 7031
Description: The IIS Admin Service service terminated unexpectedly. It has
done this X time(s).
The following corrective action will be taken in 1 milliseconds: Run the
configured recovery program

and

Event Type: Error
Event Source: Service Control Manager
Event ID: 7031
Description: The Simple Mail Transport Protocol (SMTP) service terminated
unexpectedly. It has done this X time(s).
The following corrective action will be taken in 60000 milliseconds: Restart
the service.

and

Event Type: Error
Event Source: Service Control Manager
Event ID: 7031
Description: The World Wide Web Publishing Service service terminated
unexpectedly. It has done this X time(s).
The following corrective action will be taken in 60000 milliseconds: Restart
the service.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~

I checked for these errors at different place and it says that the error is
because the computer is affected with the code worm virus
but as i wrote earlier that i have already donwloaded and installed the
patch as well as have run Latest Windows Update and then restarted the

computer.
So please if anyone has any idea what wrong is happening with my server
please let me know ASAP as this is now really driving me crazy
and i have tried all different ways but haven't yet got a solution.

Thank you for devoting enough time to read this.
Hope for a solution

Niel



Jul 19 '05 #1
4 3140

"Niel" <na*******@vippowernet.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Event Type: Error
Event Source: Service Control Manager
Event ID: 7031
Description: The World Wide Web Publishing Service service terminated
unexpectedly. It has done this X time(s).
The following corrective action will be taken in 60000 milliseconds: Restart the service.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~

I checked for these errors at different place and it says that the error is because the computer is affected with the code worm virus
but as i wrote earlier that i have already donwloaded and installed the
patch as well as have run Latest Windows Update and then restarted the


Have you got a virus checker (that's up to date?) - have you scanned this
box? Not just for code red, but everything else?

Do you have any kind of custom application installed (DLL) that uses the Web
services that may be crashing and taking them with it?

In the _short_ term, you can configure IIS to restart itself should it
fail - do this in the services console. The same for W3WVC and SMTPSvc.
However this will mask the problem rather then solve it.

Jul 19 '05 #2
Well for anti-virus we will have to update the latest one and will see what
happens, but for the second thing that you have written, i didn't get it
what you are trying to say

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the _short_ term, you can configure IIS to restart itself should it
fail - do this in the services console. The same for W3WVC and SMTPSvc.
However this will mask the problem rather then solve it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please let me know about above thing as to what should i change in services.



"Dan Boylett" <pa*******@crossdata.co.uk> wrote in message
news:uy**************@TK2MSFTNGP12.phx.gbl...

"Niel" <na*******@vippowernet.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Event Type: Error
Event Source: Service Control Manager
Event ID: 7031
Description: The World Wide Web Publishing Service service terminated
unexpectedly. It has done this X time(s).
The following corrective action will be taken in 60000 milliseconds: Restart
the service.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~

I checked for these errors at different place and it says that the error

is
because the computer is affected with the code worm virus
but as i wrote earlier that i have already donwloaded and installed the
patch as well as have run Latest Windows Update and then restarted the


Have you got a virus checker (that's up to date?) - have you scanned this
box? Not just for code red, but everything else?

Do you have any kind of custom application installed (DLL) that uses the

Web services that may be crashing and taking them with it?

In the _short_ term, you can configure IIS to restart itself should it
fail - do this in the services console. The same for W3WVC and SMTPSvc.
However this will mask the problem rather then solve it.

Jul 19 '05 #3
Hello,

You can go to Services thru Administrative Tools / Control
Panel, then right-click on each service to go to the
Propertise. Click on the Recovery tab, and change the
actions from there.

Hope that helps.

Beer
-----Original Message-----
Well for anti-virus we will have to update the latest one and will see whathappens, but for the second thing that you have written, i didn't get itwhat you are trying to say

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the _short_ term, you can configure IIS to restart itself should itfail - do this in the services console. The same for W3WVC and SMTPSvc.However this will mask the problem rather then solve it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please let me know about above thing as to what should i change in services.


"Dan Boylett" <pa*******@crossdata.co.uk> wrote in message
news:uy**************@TK2MSFTNGP12.phx.gbl...

"Niel" <na*******@vippowernet.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
> Event Type: Error
> Event Source: Service Control Manager
> Event ID: 7031
> Description: The World Wide Web Publishing Service service terminated > unexpectedly. It has done this X time(s).
> The following corrective action will be taken in 60000 milliseconds:
Restart
> the service.
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
~~~ >
> I checked for these errors at different place and it says that the error is
> because the computer is affected with the code worm
virus > but as i wrote earlier that i have already donwloaded and installed the > patch as well as have run Latest Windows Update and
then restarted the
Have you got a virus checker (that's up to date?) - have you scanned this box? Not just for code red, but everything else?

Do you have any kind of custom application installed (DLL) that uses theWeb
services that may be crashing and taking them with it?

In the _short_ term, you can configure IIS to restart

itself should it fail - do this in the services console. The same for W3WVC and SMTPSvc. However this will mask the problem rather then solve it.

.

Jul 19 '05 #4
Thanks for the reply. Yes that i already did. i.e. on Failures 1st 2nd and
subsequent faliure i am making restart the services. But this is just a
temporary solution. I mean i can see in the even viewer that the service
stop and start like every 15-20 mins. which could be affecting our traffic.
If you have any other solution, a permanent please let me know.

Thank you

"Beer" <be********@shuf.com> wrote in message
news:00****************************@phx.gbl...
Hello,

You can go to Services thru Administrative Tools / Control
Panel, then right-click on each service to go to the
Propertise. Click on the Recovery tab, and change the
actions from there.

Hope that helps.

Beer
-----Original Message-----
Well for anti-virus we will have to update the latest one

and will see what
happens, but for the second thing that you have written,

i didn't get it
what you are trying to say

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In the _short_ term, you can configure IIS to restart

itself should it
fail - do this in the services console. The same for

W3WVC and SMTPSvc.
However this will mask the problem rather then solve it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please let me know about above thing as to what should i

change in services.



"Dan Boylett" <pa*******@crossdata.co.uk> wrote in message
news:uy**************@TK2MSFTNGP12.phx.gbl...

"Niel" <na*******@vippowernet.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
> Event Type: Error
> Event Source: Service Control Manager
> Event ID: 7031
> Description: The World Wide Web Publishing Service service terminated > unexpectedly. It has done this X time(s).
> The following corrective action will be taken in 60000 milliseconds: Restart
> the service.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
~~~ >
> I checked for these errors at different place and it says that the error is
> because the computer is affected with the code worm virus > but as i wrote earlier that i have already donwloaded and installed the > patch as well as have run Latest Windows Update and then restarted the
Have you got a virus checker (that's up to date?) - have you scanned this box? Not just for code red, but everything else?

Do you have any kind of custom application installed (DLL) that uses the
Web
services that may be crashing and taking them with it?

In the _short_ term, you can configure IIS to restart

itself should it fail - do this in the services console. The same for W3WVC and SMTPSvc. However this will mask the problem rather then solve it.

.

Jul 19 '05 #5

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

Similar topics

1
by: Nathan Henderson | last post by:
I am trying to stop and start the ftp service from an asp page using the iuser account. my code is simple: shell.run "net start msftpsvc",0,true. ASP page returns no errors but nothing happens....
2
by: Sachi | last post by:
Hi, I have a requirement were there will be some 3 windows services will be there. But I want only one of this service to hold the control of start, stop and pause features of all this three...
4
by: Roland Riess | last post by:
Hi all, at the moment i am developing an app which is sort of an interface to copy data from one database to another and it shall run as a service. As there are several databases the app must be...
0
by: cell | last post by:
why the MS DTC always stop services automatically ? hi , two sql server MS DTC services stop services automatically : one server : After my anti-virus software killed a vbs virus , MS DTC...
8
by: vtxr1300 | last post by:
I've followed 2 very similar tutorials on creating a windows service and an installer. But, after successfully compiling it, I try to do the InstallUtil command, but I get a...
4
by: Slim | last post by:
Do you need to add Web Services to your web site if they are actually on your web site. To explain it better, I built some web serves, and on my menu it says add web references, you then have a...
0
by: SenthilVel | last post by:
Hi All I have problem in Stopping one of my windows service. My task is to stop is to stop all my windows services which beloings to my application. when doing so, i am able to stop all my...
1
by: Freaky | last post by:
Hi, My exe file will start 4 different services. If the code encounters an Environment.Exit() while in execution, i see that, all the 4 services are stopped(crashed). But i want that particular...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... Following the samples online, we implemented a windows service in .Net. Like most services, there's a worker thread actually doing stuff in the background. The problem we've run into is...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.