When you think ASP, think...
Recent Articles
All Articles
ASP.NET Articles [1.x] [2.0]
ASPFAQs.com
Message Board
Related Web Technologies
User Tips!
Coding Tips
Search

Sections:
Book Reviews
Sample Chapters
Commonly Asked Message Board Questions
Headlines from ASPWire.com
JavaScript Tutorials
MSDN Communities Hub
Official Docs
Security
Stump the SQL Guru!
Web Hosts
XML Info
Information:
Advertise
Feedback
Author an Article
Technology Jobs



















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
ASP ASP.NET ASP FAQs Message Board Feedback ASP Jobs
Print this page.

Data Warehouse Architect (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume

User Tips: Using Kill.exe to Stop InetInfo.exe


By Rob

Kill, Kill, Kill.

Have you ever used a loop to get records from a recordset? Used a loop for many If...Then...Else statements? If you work with loops often it's more than likely you've managed to crash IIS.

Here's some crash test code: :)

Dim Num1, Num2 Num1 = 1 Num2 = 2 Do While Num1 < Num2 Response.Write "You wont see this, the server has crashed" Next

This is doing a Do...Loop but the condition will never change; this is where a very handy program comes into play.

As you open the task manager to find out why your computers running so slow, you'll see the Processor usage at 100% and inetinfo.exe using 97% - 99% of resources, try to end the process... HA! you can't Access Denied! This is where I usually try the console and try a NET STOP W3SVC but again, it can't.

So then what do I do... well, with KILL.EXE I can do this at the console:

Kill inetinfo.exe
Net start "World Wide Web Publishing Service"

(Ok, or net start w3svc)

So there you go, unfortunately KILL.EXE cannot be downloaded as a separate file but is only available with the Windows NT Resource Kit, but what the heck, the NT4 Resource Kit is bursting with tons of other goodies anyway!

Happy Programming!

  • Download the Windows NT Resource Kit

    Return to user tips...


    Windows Internet Technology | ASP.NET [1.x] [2.0] | ASPMessageboard.com | ASPFAQs.com | Advertise | Feedback | Author an Article


  • The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers