Browse by Tags - ASP.NET Debugging - Site Home - MSDN Blogs

ASP.NET Debugging

Debugging from an ASP.NET and Azure Engineer. Posts are from customer issues and things I feel may be useful.

Browse by Tags

Tagged Content List
  • Blog Post: Help with Windows Azure role stuck in Initializing/Busy/Stopped state

    I have seen a number of issues where the Windows Azure role is stuck when you deploy it and you can’t get it started.  There are a few great posts about this problem at: Windows Azure role stuck in Initializing/Busy/Stopping Another common reason for Windows Azure role to stuck in Initializing/Busy...
  • Blog Post: Azure: There is not enough space on the disk

    Problem There may be some times where you will see this message when developing an application for Windows Azure.  The message will look like: There is not enough space on the disk. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack...
  • Blog Post: Logging modules for ASP.NET (MVC) and also for Windows Azure

    I was just reading through Scott Hanselman’s post about ELMAH and this sounds like a great idea.  Getting a easy to consume report of all of your exceptions is a wonderful thing, especially when you add in that you can get it as an RSS feed, an email or a web site.  You can check out ELMAH...
  • Blog Post: Linq exception

    If you have done much programming with Linq and using the relationships between tables, you may come across the following exception: System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException Operation is not valid due to the current state of the object. This is basically telling you that you...
  • Blog Post: 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 contains a bunch of files that FPSE use to update...
  • Blog Post: System.IndexOutOfRangeException on a webfarm

    Here is another issue that a customer had that I thought would be helpful to others. Problem The customer said they are getting Exception type: System.IndexOutOfRangeException every minute or so when accessing their web site.  The error looks like: System.IndexOutOfRangeException: Index was outside...
  • Blog Post: Update for viewstate issues

    So a while ago I posted about how to fix the Validation of viewstate MAC failed error .  There is some really exciting news that is coming with Visual Studio 2008 Service Pack 1 and .NET Framework 3.5 Service Pack 1.  One of the improvements that they made for this Service Pack is to help alleviate...
  • Blog Post: ASP.NET Tips: DumpAllExceptions output changes

    The first time you run !DumpAllExceptions you will see it print out one full exception for each type of exception that is in the dump. This will include the message and the callstack of the exception. For example: Any time after that, if you run the same command, there is a chance that it will...
  • Blog Post: Unable to use Session State Server

    Issue ASP.NET site running under .NET 2.0 has the following setting in web.config: <sessionState mode="StateServer" stateNetworkTimeout="10" cookieless="false" timeout="30"/> When the application attempts to use the session cache, the following...
  • Blog Post: 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 will configure DebugDiag to automatically capture...
  • Blog Post: Validation of viewstate MAC failed error

    -- 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 --   Issue Description You can get this...
  • Blog Post: HOWTO: Capture a dump on a specific managed exception

    So often times, we get an exception of interest, either we see it in the Event Log or we see it in a dump and we want to get a dump at the time of the exception to see what was happening. So how do we go about doing that? Well, the answer is, there are a few ways you can do this. DebugDiag Methods...
Page 1 of 1 (12 items)