Browse by Tags

ASP.NET Tip: Understanding the caching of data in SOS
The sos that comes with the debugger, in the clr10 directory, has a lot of additional features and speed improvements for .NET 1.x troubleshooting. One of the main ways it does this is by caching the data that is gathered from !DumpHeap -stat. This is Read More...
Posted 08 October 08 06:00 by Tom | 3 Comments   
Filed under , , ,
ASP.NET Tips: Careful Use of Static's
Not sure how many people realize it, but when you start dealing with multiple users access a system (in this case a web server), you have to be very careful what you store in static's (global variables).  This is because all the users will have access Read More...
Posted 18 September 08 06:00 by Tom | 13 Comments   
Filed under , ,
Improving Time-Critical Code written in C
Writing web pages is very similar to writing any other type of code.  You have to understand how it is going to be used and where you need to really make things run as quickly as possible. There are a number of tips on this blog already that deal Read More...
ASP.NET Tip: Keep hidden files hidden
I have seen a few cases of this so I wanted to let everyone know.  If you install the FrontPage Server Extensions (FPSE) on a web server, it will install some configuration files in a directory under your web site called _vti_cnf.  This folder Read More...
ASP.NET Tip: ASP.NET MSDN Site
Have you checked out the MSDN site for ASP.NET lately?  It is full of useful information.  You can find it at the ASP.NET Developer Center .  My favorite things to check out are the “How Do I” videos.  They can be really helpful and Read More...
Posted 20 August 08 06:00 by Tom | 3 Comments   
Filed under , , ,
ASP.NET Tips: Loading a DLL out of the bin directory
Question A customer has created a web project which references a class library project.  When deployed to the local machine the web/classes all work fine.  When deployed to a ‘shared’ IIS site, the class DLLs exist in the /bin folder, but the Read More...
Posted 21 July 08 06:00 by Tom | 8 Comments   
Filed under , , ,
ASP.NET Tips: Using Process Explorer to help with high CPU
I am not sure how many people are familiar with the great tools that Mark and the Sysinternals folks have created, but this is one that is a must for monitoring the performance of your machine.  It is called Process Explorer .  With it, you Read More...
Posted 24 June 08 06:00 by Tom | 2 Comments   
Filed under , ,
ASP.NET and Performance
I wanted to talk about monitoring performance in ASP.NET for a bit.  I have already posted a few postings that talk around this issue, namely: ASP.NET Debugging - High Memory part 5 – Fragmentation ASP.NET Debugging - ASP.NET Tips- How to use DebugDiag Read More...
ASP.NET Tips: What to gather to troubleshoot
So now that I am done with all the individual posts, I thought I would wrap them all together.  So here are all of the posts that I created on gathering information when you are having a problem. Please keep in mind that these are geared towards Read More...
ASP.NET Tips: What to gather to troubleshoot - part 6 - Recycle due to memoryLimit
Here is another situation that you may come across and what to do in order to gather information about it. The following steps will configure DebugDiag to automatically capture a memory dump of the ASPNET_WP.exe process recycling when it exceeds the memoryLimit.  Read More...
ASP.NET Tips: What to gather to troubleshoot - part 5 - OutOfMemoryException
So we already talked about what to gather when you are experiencing high memory .  But what if you are actually getting a System.OutOfMemoryException?  Here is how you capture a dump at the time you are running out of memory. The following steps Read More...
ASP.NET Tips: What to gather to troubleshoot - part 3a - Crash revisited
In the previous post around capturing a dump for a crash, we were talking about using DebugDiag .  But what if we can't use this tool.  There are various reasons for this, maybe we don't want to have it installed on the server, or maybe we are Read More...
Posted 15 May 08 11:11 by Tom | 4 Comments   
Filed under , , , ,
ASP.NET Tips: What to gather to troubleshoot - part 4 - Deadlocks
There are two ways to gather data in a Deadlock situation.  If you are using Windows 2003 or later (IIS 6.0 or later), then follow the steps in the KB 828222 If you are using an older version of IIS, then follow the steps below: Before the issue Read More...
Posted 14 May 08 11:35 by Tom | 3 Comments   
Filed under , , , , ,
ASP.NET Tips: What to gather to troubleshoot – part 3 – Crash
Defining an IIS Crash A Crash in IIS occurs when an IIS process (INETINFO.EXE, DLLHOST.EXE, W3WP.EXE) terminates unexpectedly. A Crash typically happens when there is an Unhandled Exception caused by an Access Violation, Stack Overflow, etc. In these Read More...
Posted 06 May 08 11:39 by Tom | 5 Comments   
Filed under , , , ,
ASP.NET Tips: What to gather to troubleshoot – part 2 – High Memory
Identifying a Memory leak A Memory Leak in an IIS process (INETINFO.EXE, DLLHOST.EXE, W3WP.EXE) occurs when Memory Usage in Task Manager continues to consume more than 50% of the physical RAM until running out of system memory or until the process stops Read More...
More Posts Next page »

Search

This Blog

Syndication

Page view tracker