?
Solved

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

Posted on 2011-09-16
1
Medium Priority
?
313 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

850 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