Solved

Application error - IIS Logs, IIS trace software, recommendations?

Posted on 2011-09-16
1
294 Views
Last Modified: 2012-05-12
My setup

IIS 6.0
Windows server 2003
Activestate perl 9.8.8

A web based ERP software.

This setup is identical to another server which runs ok.

Problem:
w3wp crashes around 2 times a day.


Im wondering if anyone here has any tips to what could cause this?

And then, most important:

Can anyone please recommend a good IIS program, trace, logs monitoring, etc software to figure this problem out??



image003ee.jpg
image004ee.jpg
0
Comment
Question by:frankEQS
1 Comment
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 36563681
Hi,

The best tool is DebugDiag by Microsoft but it will take some time to learn. There is not an easy (1 way) to debug them.

Article walkthorugh
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/A_4601-Debug-Tools-to-analyse-IIS-process.html

There is a Debugging extension that is available to .NET developers called SOS Debugging Extension (SOS.dll). The SOS Debugging Extension (SOS.dll) helps you debug managed programs in the WinDbg.exe debugger and in Visual Studio by providing information about the internal common language runtime (CLR) environment.

When you load the SOS.dll into the WinDebug, while applying the proper symbol files for your servers framework, you will then be able to begin walking through the stack trace and get all the details you need.

For some really good lab and .NET debugging demo's you can visit this blog, this is what assisted me.:
 
1.      Install Debugging Tools for Windows 32-bit Version - http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx#a 
a.      For the public symbols  set the symbol file path as srv*c:\symbols\public*http://msdl.microsoft.com/download/symbols .  For .NET debugging load the SOS.DLL
b.      You also need to be completely patched and running the same versions of DLL’s as production. For example production has mscorwks.dll (2.0.50727.3082) or mscordacwks.dll (2.0.50727.3082)
2.      Read this Blog - Getting started with windbg - part I
3.      Run through these labs - http://blogs.msdn.com/tess/pages/net-debugging-demos-information-and-setup-instructions.aspx

For more information have a look here :
1.      Getting started with windbg - part II http://blogs.msdn.com/johan/archive/2007/11/26/getting-started-with-windbg-part-ii.aspx 
2.      WinDbg / SOS Cheat Sheet - http://geekswithblogs.net/.NETonMyMind/archive/2006/03/14/72262.aspx 

Now, that is one method, the next is to use Process Monitor by Systernals.
      http://technet.microsoft.com/en-us/sysinternals/bb896645

The only problem with this method is it requires you to review stacks of logs.


Essentially, your error is an "Access Violation (0xC0000005)". Meaning it is getting denied. From what... only the debugging will help.

Here is another good article comparing crash and hangs.
      http://blogs.msdn.com/b/david.wang/archive/2005/08/29/howto-understand-and-diagnose-an-apppool-crash.aspx

Cheers,
Hades666
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question