Solved

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

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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