Solved

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

Posted on 2011-09-16
1
298 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problems with Microsoft.DHCP.PowerShell.Admin Module 4 88
Enterprise Mode 4 53
SSL Certificate for IIS7 Site 2 94
Recover options for a failed domain. 4 46
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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