Speaking of which...

Sample solutions from Internet development support

Browse by Tags

Tagged Content List
  • Blog Post: Investigating Locks

    Consider the following scenario: You have an ASP.NET application which intermittently responds sluggishly. As the problem occurs memory usage is about average, as is CPU usage, but still certain pages respond slower and slower. The machine acts just as if it is under heavy load, but judging from the...
  • Blog Post: Office Automation

    A very common scenario that keeps sprouting new heads like a hydra is Office Automation. Let me start by saying that this is not supported. There is a KB-article number 257757 discusses this, and clearly states the following: Microsoft does not currently recommend, and does not support, Automation of...
  • Blog Post: Why doesn’t the GC kick in when the worker process is inactive?

    I got the following question in my Getting started with windbg – post and I thought it might be worth posting the replies in a separate article: Hi Johan, about those threads with an ID of XXXX, should they go away after certain amount of idle time like 2 minutes? I am trouble shooting an application...
  • Blog Post: What to do about the slow startup of web services

    Due to the architecture of web services and web applications they can be quite slow to start. For example on my Windows 2003-box the initial localhost-call to a simple “Hello World!”-web service takes approximately 8 seconds, while the next request is more or less immediate. Why is this? This isn’t news...
  • Blog Post: Using IE6 With Visual Studio 2008

    Here's a little scenario I came across the other day. I've forwarded the information to development, so it's pending further investigation. I still thought it would be a good idea to publish the scenario though. Visual Studio 2008 + FTP = Possible trouble It seems like there might be a bug in Visual...
  • Blog Post: Monitoring Application Pool and Application Restarts

    This morning I found the following in my inbox: I had set my web servers running on IIS 6 to recycle if they hit 700 MB (Maximum used Memory). Can I run a report to know how many times per day or week the W3WP got recycled. Any suggestions please. Thanks in anticipation The quick answer to...
  • Blog Post: Did you know? - Changing ASP.NET Version restarts IIS

    Here's a little something I learned the other day. If you go to the ASP.NET tab and change the ASP.NET version for an application pool this will not only reset the application pool, but the entire IIS. I was a bit surprised at first, but investigating the matter showed that there was a pretty solid architectural...
  • Blog Post: Debugging School

    As you may or may not have noticed I've started organizing all posts I've made regarding debugging training in a separate list on the left hand side of the page. If you're new to debugging and don't know where to begin, then at least you know where I'd recommend you to start. I hope you'll find it useful...
  • Blog Post: Using WinDbg - Hunting Exceptions

    Prerequisites This post will require some basic knowledge of windbg and the sos extension. For this I recommend looking at the following posts: Getting started with WinDbg - Part I Getting started with WinDbg - Part II For more information on Exceptions in general and why they should be avoided I'd like...
  • Blog Post: Implicit casting in DataRepeater not working in certain scenarios after SP1

    Problem Using the following VB-syntax in a DataRepeater will no longer work after applying .NET Framework 2.0 Service Pack 1 in a medium-trust environment. <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <%#Container.DataItem("data")%><br /> </ItemTemplate> <...
  • Blog Post: Using WinDbg - Advanced commands

    Did you know you can build your own advanced commands using for each, if, etc? The complete list of control tokens are: .if .else .elseif .foreach .for .while .do .break .continue .catch .leave .printf .block Using these command tokes you can send quite advanced instructions to the debugger that not...
  • Blog Post: Exceptions

    Introduction This was originally intended to be a post on identifying and troubleshooting Exceptions using windbg. As I started writing I thought I should write a little something about exceptions in general, just to begin the post. That little something grew to be quite big and all of a sudden it was...
  • Blog Post: Aspnet_state.exe crashing on Xp

    I ran across an interesting situation with a customer today. He had a workstation running Windows Xp Professional. He'd previously been running Framework 1.1 and had been using the ASP.NET State Service. He had now upgraded to framework 2.0. and upon shutdown he now received the following error: aspnet_state...
  • Blog Post: Lot's of objects on the Large Object Heap on a 64-bit server

    My colleague Tess showed me a dump today which I thought was really interesting. The scenario was as follows: - We have a web application that's been running successfully on a 32-bit server for quite some time. We've now moved to a 64-bit server. The code remains unchanged but we're seeing a lot more...
  • Blog Post: Getting started with windbg - part II

    This is a continuation of my previous post with the imaginative name Getting started with windbg - part I . I'll be assuming that you've read it, so if you haven't I suggest you check it out first. We're still working with the same sample dump, so I'll pretty much pick up right where we left off. More...
  • Blog Post: Getting started with windbg - part I

    Okay, I've previously written some random posts about how to set up windbg and how to troubleshoot OutOfMemoryExceptions . I thought I'd take a few steps back and review some of the basics in order to help you get started on using this fantastic tool. Basic Configuration Copy sos.dll from the framework...
  • Blog Post: Clients getting incorrect session data or sessions are inexplicably reset

    This is something me and my colleagues come across quite often. It is often quite time consuming to troubleshoot, even though there aren't that many possible reasons. The typical scenario is that a webapplication stores client-specific data in session variables. Intermittently clients will see other...
  • Blog Post: My web application times out when debugging in IIS7

    Problem: When using Visual Studio 2005 to debug a web application under IIS7 you will find that after 90-120 seconds the debugger will time out and you will get an appropriate error message in your browser. Visual Studio will return to it's "non debugging"-state and pretend like nothing happened....
  • Blog Post: Test Projects and AJAX

    If you have an AJAX project and you're using Visual Studio Team Edition for Software Testers you might have noticed that the Web Test recorder is unable to record client side script navigation like AJAX requests. The way the test recorder is created it attaches to IE and records all "standard" navigation...
  • Blog Post: The KB article every one should know about

    Have you read http://support.microsoft.com/?kbid=307340 ? If not, I suggest you do so. If you need convincing or simply want to know why this problem occurs I suggest you keep reading. The problem described in the article above can cause your application to spike in CPU time, Memory usage or both. This...
  • Blog Post: Common reasons why your application pool may unexpectedly recycle

    If your application crashes, hangs and deadlocks it will cause/require the application pool to recycle in order to be resolved, but sometimes your application pool inexplicably recycles for no obvious reason. This is usually a configuration issue or due to the fact that you're performing file system...
  • Blog Post: Finalizers and weak references

    What do finalizers and weak references have in common? Well more than you might think actually. Finalizers Finalizers are clean-up code that will be run at the end of an objects life-cycle. You should only release native resources in the finalizer. When you use your object you should not the finalizer...
  • Blog Post: Memory management in the .NET Framework

    This is a subject that has been covered before and I have no intention of writing the ultimate post on the subject. Still I think this is something that every good developer should know. Why do I need to know this? My colleagues and I are quite often asked about the necessity of knowing how the Garbage...
  • Blog Post: Why adding more memory won't resolve OutOfMemoryExceptions

    Quite often I am met with the incorrect assumption that out of memory exceptions can be resolved by adding more memory. I can understand why you'd think that, but actually it won't matter at all. Additional RAM may increase performance, but an additional 8GB of memory won't increase the available amount...
  • Blog Post: I've upgraded and now my application doesn't work anymore

    Scenario: A quite common scenario when working in the support industry is a call along theese lines: "My application worked just fine, but now that I've upgraded to IE7, IIS6, Vista, etc. it doesn't work any more. This has got to be a bug! This new version of the software obviously isn't any good, so...
Page 1 of 2 (27 items) 12