Sign in
ASP.NET Debugging
Debugging from an ASP.NET and Azure Engineer. Posts are from customer issues and things I feel may be useful.
Options
Blog Home
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET
AJAX
ASP.NET
ASP.NET Tip
Azure
Chat
Code
Crash
Debugging
Exceptions
Hang
High CPU
High Memory
IE8
IIS
IIS7
Microsoft
MVC
RIA
Silverlight
SOS
Trivia of the Day
Visual Studio
Windows
Windows Azure
Archive
Archives
May 2012
(2)
March 2012
(1)
February 2012
(2)
November 2011
(1)
April 2011
(1)
February 2011
(2)
July 2010
(1)
April 2010
(2)
March 2010
(2)
February 2010
(2)
December 2009
(1)
November 2009
(2)
September 2009
(3)
August 2009
(1)
June 2009
(3)
May 2009
(2)
April 2009
(8)
March 2009
(6)
February 2009
(6)
December 2008
(2)
November 2008
(3)
October 2008
(16)
September 2008
(24)
August 2008
(28)
July 2008
(28)
June 2008
(19)
May 2008
(30)
April 2008
(38)
March 2008
(23)
February 2008
(14)
January 2008
(6)
December 2007
(6)
November 2007
(7)
April, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
ASP.NET Debugging
ASP.NET Tab Missing
Posted
over 5 years ago
by
ASP.NET Debugging
61
Comments
A common issue we see customers having is after installing ASP.NET 2.0, the ASP.NET Tab is missing from IIS. This tab is used for setting the version of ASP.NET and a lot of other things. When this tab is missing, it can be rather difficult to get it...
ASP.NET Debugging
Got a question? Get an answer here
Posted
over 5 years ago
by
ASP.NET Debugging
58
Comments
So I tend to describe a lot of issues here, but we had some really great conversation in our blog chat. So I thought I would ask for questions from everyone. Feel free to ask anything you like. If it is a simple, quick answer, I’ll answer...
ASP.NET Debugging
Debugging videos anyone?
Posted
over 5 years ago
by
ASP.NET Debugging
29
Comments
I am considering creating some videos showing some debugging tips. My original idea is to create short videos that just some doing some specific things. So not full debug sessions, but rather specific parts. So that when you are debugging...
ASP.NET Debugging
Chat Question: Memory Limits for 32-bit and 64-bit processes
Posted
over 5 years ago
by
ASP.NET Debugging
14
Comments
During our recent blog chat, there were a number of topics that were asked about and I am going to expand on some of them. The first one is the memory limits for different processes. This really depends on a few different things. The architecture...
ASP.NET Debugging
ASP.NET Performance counters missing
Posted
over 5 years ago
by
ASP.NET Debugging
13
Comments
We get this problem from time to time so I thought I would talk about what to do when the performance counters are missing for ASP.NET. Method 1 The first piece of advice is to upgrade to the latest version of the framework, so the latest Service Pack...
ASP.NET Debugging
POP QUIZ: SOS not loading properly
Posted
over 5 years ago
by
ASP.NET Debugging
10
Comments
So for this quiz, we are going to be looking at attempting to load sos.dll for the .NET Framework 2.0. We get a dump file, and when we try to run a command on the dump file, we get an error like: So reading this, we see that we should run .cordll -ve...
ASP.NET Debugging
How to handle form events after adding a master page to an existing page
Posted
over 5 years ago
by
ASP.NET Debugging
10
Comments
Here is a question that was asked on my posting trying to invite questions, Got a question- Get an answer here . Question Something that would be handy straight from the team is how to handle ASP.NET (2 and later) form events when a Master page is added...
ASP.NET Debugging
Understanding when to use a Finalizer in your .NET class
Posted
over 5 years ago
by
ASP.NET Debugging
9
Comments
A common problem we see when moving to .NET all revolves around the finalizer. There are a few reasons that this happens: Developers move from C/C++ to C# and are used to created classes with a constructor and destructor. Developers don’t understand...
ASP.NET Debugging
Tips for IE8
Posted
over 5 years ago
by
ASP.NET Debugging
9
Comments
So after using IE8 for a while now, there are a few things that are useful for people to keep in mind. First, there are a lot of changes in IE8. I am really excited about some of them, such as WebSlices. They give you the ability to...
ASP.NET Debugging
ASP.NET Tips: Debugger command you may not know about - gcref
Posted
over 5 years ago
by
ASP.NET Debugging
8
Comments
During the course of debugging, often times you will find an object that you would like to know where it came from (who allocated the object). The first command you will want to run is !gcroot . But this command will only find the object if...
ASP.NET Debugging
ASP.NET Tips: Debugger command you may not know about – converttickstodate
Posted
over 5 years ago
by
ASP.NET Debugging
8
Comments
Here is another command that can really help to figure out what is happening. If you have spent much time looking at managed dumps, you have probably come across the problem of trying to look at a System.DateTime or System.TimeSpan object. ...
ASP.NET Debugging
RECAP: ASP.NET Blog Chat
Posted
over 5 years ago
by
ASP.NET Debugging
7
Comments
Thanks to everyone that attended the chat we had today on Tess and my pages. I think it went really well and we are going to continue these in the future and hopefully get to some more topics. I just wanted to let everyone know that we are going...
ASP.NET Debugging
ASP.NET Tips: How to identify a COM call that is blocking GC, causing a memory leak
Posted
over 5 years ago
by
ASP.NET Debugging
7
Comments
Problem Description So this is a customer situation we found were the customer was getting an System.OutOfMemoryException. We were able to reproduce this with a console application that just ran: For Iterator = 0 To 99999999999 Regex.IsMatch(CONNECTION_STRING...
ASP.NET Debugging
ASP.NET Tips: How to use DebugDiag to track down where a performance problem is coming from
Posted
over 5 years ago
by
ASP.NET Debugging
7
Comments
We recently had a case where the customer was having performance problems. They were seeing requests take a few minutes to return and didn’t know what was happening. So they took some dumps while the problem was happening. So we ran this dump through...
ASP.NET Debugging
ASP.NET Tips: How to capture a dump
Posted
over 5 years ago
by
ASP.NET Debugging
6
Comments
There are multiple ways to capture a dump. There are some examples discussed in my previous post, HOWTO- Capture a dump on a specific managed exception . You can just use DebugDiag to capture a dump. The easiest way in DebugDiag is to...
ASP.NET Debugging
Recommended Reading
Posted
over 5 years ago
by
ASP.NET Debugging
6
Comments
This post is a list of books that I would suggest people to read. I will continue to add to this list, also, if you are using IE8, the list itself is a webslice. Recommended ASP.NET Books Debugging Microsoft .NET 2.0 Applications Programming...
ASP.NET Debugging
Making an Asynchronous Call using the Impersonation Identity
Posted
over 5 years ago
by
ASP.NET Debugging
5
Comments
If you try to make an asynchronous call, you will notice that the thread that executes the call doesn't run under the same account as the thread that called it, assuming you are using impersonation. There are a number of ways to change this if you would...
ASP.NET Debugging
ASP.NET Tips: Getting SOS to work when commands fail
Posted
over 5 years ago
by
ASP.NET Debugging
5
Comments
So the last quiz asked about a common error message you may see when debugging a dump from .NET on a machine other then where the dump was captured. Now I want to go into more detail on this. For a look at the quiz, check out POP QUIZ- SOS not loading...
ASP.NET Debugging
Chat Question: What extension to use in what situation
Posted
over 5 years ago
by
ASP.NET Debugging
5
Comments
So we have a bunch of debugger extensions that we need to use depending on the situation. So here are the extensions that can depend on various situations and when to use which. The first thing to decide is to load the right DLL for the Framework...
ASP.NET Debugging
Visual Studio Designer not Respecting Assembly Binding Redirection
Posted
over 5 years ago
by
ASP.NET Debugging
5
Comments
So we recently came across an issue where Visual Studio 2005 and 2008 Designers were not respecting assembly binding redirection. Scenario We have a file which is now version 2 and stored in the GAC . So the assembly version is 2.0.0.0. We...
ASP.NET Debugging
POP QUIZ: Why would you get this error from Windbg?
Posted
over 5 years ago
by
ASP.NET Debugging
4
Comments
Problem 1 So here is the scenario. You open a dump from when you were experiencing a problem and try to run an SOS command and you see: 0:024> !dumpheap -stat Cannot get the ThreadStore, do you have symbols for the mscorwks/mscorsvr files...
ASP.NET Debugging
ASP.NET Tips: Looking at the finalization queue
Posted
over 5 years ago
by
ASP.NET Debugging
4
Comments
So in a previous post, we talked about Understanding when to use a Finalizer in your .NET class so now lets take a look at what the Finalize queue looks like and how to tell if things are bad. The command we use is !finalizequeue in sos: 0:010>...
ASP.NET Debugging
ASP.NET Tips: Printing an IP Address
Posted
over 5 years ago
by
ASP.NET Debugging
4
Comments
So while looking through a dump, you will sometimes come across an IP Address. For example, the System.Net.IPAddress: If you look at this output, you can see that we have the address in the m_Address field, but what is 1895899146? This is...
ASP.NET Debugging
Live Mesh introduced
Posted
over 5 years ago
by
ASP.NET Debugging
4
Comments
There have been a lot of rumors around Microsoft coming out with something that is Software + Services. So at the Web 2.0 conference, we finally announced Live Mesh . Check out this Intro post for a bunch of the details. This also mentioned...
ASP.NET Debugging
ASP.NET Tips: Debugger command you may not know about – finddebugmodules
Posted
over 5 years ago
by
ASP.NET Debugging
4
Comments
So there are a couple different things that can affect performance of your ASP.NET application. One of them is if you are running with debug builds of your files. This is where this command comes in. When run, it will tell you any modules...
Page 1 of 2 (38 items)
1
2