Solved

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

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

Join & Write a Comment

Suggested Solutions

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now