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.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET
AJAX
ASP.NET
ASP.NET Tip
Azure
Chat
Code
Crash
Debugging
Exceptions
Hang
High CPU
High Memory
Hyper-V
IE8
IIS
IIS7
Microsoft
MVC
RIA
Silverlight
SOS
Trivia of the Day
Visual Studio
Windows
Archive
Archives
February 2012
(1)
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)
March, 2008
MSDN Blogs
>
ASP.NET Debugging
>
March, 2008
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
ASP.NET Debugging
ANSWER: POP QUIZ: What to do next? - part 1
Posted
over 4 years ago
by
ASP.NET Debugging
3
Comments
So we didn't get much more on this one, so I'll go ahead and show how we find out what is going on here. So the loader heap question was a very good thing to check. With the sos.dll that comes with the debugger for 1.x versions, we have some...
ASP.NET Debugging
Stack sizes in IIS - affects ASP.NET
Posted
over 4 years ago
by
ASP.NET Debugging
41
Comments
The default stack size of IIS starting with Windows Server 2003 was changed. Prior to 2003, it was set to 1 MB. This is also true of the aspnet_wp.exe process that Windows 2000 uses. In 2003 and later, it is now set to 256 KB. This can cause...
ASP.NET Debugging
Jobs at Microsoft
Posted
over 4 years ago
by
ASP.NET Debugging
9
Comments
Having the ability to work at this company has been amazing, there are so many opportunities to do different things here that you can really completely get a change of job while never leaving Microsoft. Just looking at the different areas that...
ASP.NET Debugging
Blog chat on Wednesday about ASP.NET and Debugging
Posted
over 4 years ago
by
ASP.NET Debugging
2
Comments
This coming Wednesday, April 2nd, Tess and I am going to be co-hosting a chat in our blogs. For this first one, you will be able to ask any questions you may have around ASP.NET and Debugging. We are going to be running the chat at 10:00 AM...
ASP.NET Debugging
ASP.NET Tips: Finding the layout of functions and structs for pinvoke
Posted
over 4 years ago
by
ASP.NET Debugging
7
Comments
So when you start working with .NET a lot, you will find out quickly that there are some things that you just can't do in .NET and you will need to drop back down to the Win32 API to do something. When you need to do that, you pinvoke the function...
ASP.NET Debugging
ASP.NET Tips: Debugger command you may not know about - aspxpages
Posted
over 4 years ago
by
ASP.NET Debugging
5
Comments
So there are a lot of useful commands in sos that you may not know about. I am going to hit on some of the additional commands that are in the sos.dll that ships with the debugger package. Note: This extension only works with .NET 1.0 and .NET 1...
ASP.NET Debugging
POP QUIZ: What to do next? – part 1
Posted
over 4 years ago
by
ASP.NET Debugging
4
Comments
So here is the situation. I will lead you down the debugging path and get us to a certain place and then ask you guys to solve the rest of the problem. As before, leave your suggestions as comments. I will wait until noon tomorrow to...
ASP.NET Debugging
ASP.NET Tips: Working with large SQL tables
Posted
over 4 years ago
by
ASP.NET Debugging
9
Comments
There are a number of ways to query for data that is stored in a SQL Database from ASP.NET. Generally the best way is to use stored procedures. They can be compiled to be faster, and they are also much safer as they protect you from SQL injection...
ASP.NET Debugging
Hangs and how to solve them - part 2 - Queuing
Posted
over 4 years ago
by
ASP.NET Debugging
8
Comments
So in a previous post, we began discussing hangs, Hangs and how to solve them - part 1 - Deadlocks . So we will now move on to another common problem we see with ASP.NET... Request Queuing. How to tell Queuing is happening So the first step is to...
ASP.NET Debugging
ASP.NET and SOS
Posted
over 4 years ago
by
ASP.NET Debugging
22
Comments
I would like to hear from you! I want to know what your thoughts are around the SOS.dll and using it to troubleshoot problems. Are there functions in the sos.dll that ships with the debugger, that only works with .NET 1.x, that you are missing for...
ASP.NET Debugging
Are you a Windows Internal subject matter expert?
Posted
over 4 years ago
by
ASP.NET Debugging
1
Comments
If you are, and have an interest in helping Microsoft on a special project that will last 5 to 8 days, check this out: Note: This is from: Wanted- Windows Internals subject matter experts Microsoft is looking for five Windows Internals subject matter...
ASP.NET Debugging
Looking at crashes that watson has stored
Posted
over 4 years ago
by
ASP.NET Debugging
1
Comments
When a crash happens in Vista and Windows Server 2008, Windows will automatically write out a dump file for the crash. It stores this file, on the machine so that you can upload it to the Windows Error Reporting (WER) site to see if this is a known issue...
ASP.NET Debugging
Recent IIS 7.0 updates
Posted
over 4 years ago
by
ASP.NET Debugging
4
Comments
So there have been some new updates recently released for IIS 7.0. These updates add some additional functionality to IIS on Windows Server 2008. The biggest one is the addition of FTP: Microsoft FTP Publishing Service for IIS 7.0 Documentation can be...
ASP.NET Debugging
GDI+ (GdiPlus) and ASP.NET
Posted
over 4 years ago
by
ASP.NET Debugging
11
Comments
So we occasionally see customers that are either using System.Drawing themselves in their ASP.NET application or are using controls (like charting controls) that use it. Under most circumstances, this works just fine. But there are times where it...
ASP.NET Debugging
DeepZoom and Silverlight in C#
Posted
over 4 years ago
by
ASP.NET Debugging
9
Comments
One of the things I have seen the biggest buzz around lately is DeepZoom. This is a really cool technology that gives users a whole different way to display images or show vast amounts of data. When you are looking to get started with this technology...
ASP.NET Debugging
Validation of viewstate MAC failed error
Posted
over 4 years ago
by
ASP.NET Debugging
120
Comments
-- 3/17/2009 UPDATE -- If you are using .NET 2.0 or later, please upgrade to .NET 3.5 SP1 (.NET 2.0 SP2) as it has a fix in it that should resolve this issue. If you update and still have the problem, please post here so we know. -- 3/17/2009 UPDATE...
ASP.NET Debugging
Bringing down an ASP.NET Application for updates
Posted
over 4 years ago
by
ASP.NET Debugging
6
Comments
One of the really useful, and not well-known features of ASP.NET 2.0 is that you can use a special file to take your application down and show users a friendly message while you update the site. This is talked about by ScottGu here . What this will allow...
ASP.NET Debugging
Hangs and how to solve them - part 1 - Deadlocks
Posted
over 4 years ago
by
ASP.NET Debugging
10
Comments
We have talked about high memory quite a bit so thought it would be a good idea to move onto hangs. So first some background on what you may see: Slow performance Web pages timing out Event logs mentioning deadlocks Event logs mentioning not responding...
ASP.NET Debugging
ApplicationHost Helper Service - what does it do?
Posted
over 4 years ago
by
ASP.NET Debugging
2
Comments
Another new thing about IIS7 is this new service called the ApplicationHost Helper. This serves two main purposes: Configuration history Application Pool Account Mappings Config History This is the service that will make backups of your ApplicationHost...
ASP.NET Debugging
ANSWER: POP QUIZ: What's wrong with this code - part 1
Posted
over 4 years ago
by
ASP.NET Debugging
3
Comments
So here was the code we asked about: using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System...
ASP.NET Debugging
POP QUIZ: What's wrong with this code - part 1
Posted
over 4 years ago
by
ASP.NET Debugging
15
Comments
Here is another trivia question. Comment with your answer and I will post the comments Friday along with the answer. What is wrong with this code Using Forms Authentication, here is Login.aspx.cs (updated the code slightly, assume the AuthenticateRequest...
ASP.NET Debugging
Automatic Application Pool Isolation in IIS7 - why you'll want to use this
Posted
over 4 years ago
by
ASP.NET Debugging
2
Comments
So IIS7, which comes with the new Windows Server 2008 which just RTM'd, has a bunch of new features that are going to make life a lot easier for the web developer and administrator. The one we will see today is called Automatic Application Pool Isolation...
Page 1 of 1 (22 items)