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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
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
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
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
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
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
Networking problems with Windows Server 2003 SP2 – update available
Posted
over 5 years ago
by
ASP.NET Debugging
1
Comments
There have been a number of reports of networking issues after installing SP2 for Windows Server 2003. We now have a fix that will address these. The errors you may see include: When you try to connect to the server by using a VPN connection...
ASP.NET Debugging
Ajax View: Remotely Monitoring Web 2.0 Applications
Posted
over 5 years ago
by
ASP.NET Debugging
2
Comments
Microsoft research recently released a new tool to help developers with Ajax applications. You can check out the site for more information, Ajax View . This is some really cool technology that basically puts a proxy in between the server and the...
ASP.NET Debugging
ANSWER: POP QUIZ: Why would you get this error from Windbg?
Posted
over 5 years ago
by
ASP.NET Debugging
3
Comments
So it was kind of a trick question posting both of these errors. They both mean the same thing. Basically this is the error you get in SOS when the .NET Framework isn’t loaded in the process yet. Problem 1 is from a SOS used to...
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
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: 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
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
Chat Question: Why do we see an exception on the heap, but it isn’t on a stack?
Posted
over 5 years ago
by
ASP.NET Debugging
2
Comments
So there is a common issue that people run across when they start trying to debug managed code. How does the heap compare to the current threads that are running? For example, here is an exception that we have found in the managed heap running ...
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
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
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
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
ASP.NET Tips: Debugger command you may not know about – clientconns
Posted
over 5 years ago
by
ASP.NET Debugging
3
Comments
Here is yet another command you may not be aware of. But it can be really helpful when you are troubleshooting many types of issues with IIS/ASP.NET. !clientconns is part of a debugger extension that ships with DebugDiag . In the directory...
ASP.NET Debugging
ASP.NET Tips: Debugger command you may not know about - procinfo
Posted
over 5 years ago
by
ASP.NET Debugging
2
Comments
Here is another debugger command that you may not know about that is in the sos.dll file included with the debugger package for .NET 1.0 and .NET 1.1. !procinfo will print out the environment variables, CPU times and memory usage statistics. This...
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
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
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 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
ANSWER: POP QUIZ: SOS not loading
Posted
over 5 years ago
by
ASP.NET Debugging
1
Comments
So this was a multi-part quiz. The answers to the 4 questions posed are: What is going on here? We are trying to load the mscordacwks file that corresponds with the dump. If we are unable to load this file, sos won’t work. This...
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...
Page 9 of 12 (291 items)
«
7
8
9
10
11
»