Speaking of which...

Sample solutions from Internet development support

Posts
  • Speaking of which...

    Getting started with windbg - part I

    • 43 Comments
    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...
  • Speaking of which...

    Are you getting OutOfMemoryExceptions when uploading large files?

    • 38 Comments
    Using the WebClient.Upload method for posting large files will eventually leave you stranded with OutOfMemoryExceptions. This is because WebClient.Upload reads the entire file to memory by default. This is great for smaller files, but not so great if you're working with very large files. This post shows you how to build your own uploader and resolve the problem....
  • Speaking of which...

    Did you know Windows 9 will be voice controlled only?

    • 26 Comments
    Yesterday an early Alpha of Windows 9 was released on the corporate network and I couldn’t resist installing it. I started up the installation, which went very smoothly by the way, filled in the necessary details, clicked “Finish" and left it running...
  • Speaking of which...

    Walkthrough - Troubleshooting a native memory leak

    • 23 Comments
    Problem: A customer called in. They had a Web Service running on a single IIS6. Memory usage would slowly increase and not be released. As a workaround they'd currently set the application pool to recycle at 500 MB, causing a few failed requests upon...
  • Speaking of which...

    PowerShell - Editing permissions on a file or folder

    • 18 Comments
    I got the following question from a reader the other day: I've been trying to figure out how to change permissions on a folder in PowerShell. I've looked at the Get-Acl and Set-Acl, but I can only use them to copy the settings from a pre-existing object...
  • Speaking of which...

    How to install Windbg and get your first memory dump

    • 16 Comments
    Install Windbg Windbg is the tool for the ASP.NET support engineer. It is free and it's available at www.microsoft.com/whdc/devtools/debugging/default.mspx . The learning curve is steep to say the least, but if you're interested in finding out what...
  • Speaking of which...

    I am getting OutOfMemoryExceptions. How can I troubleshoot this?

    • 13 Comments
    Problem: You've written an ASP.NET application that is getting OutOfMemoryExceptions. Cause: Let's find out... Resolution: Use Windbg to take a look at the heap. Is it a leak? Take a look at the memory usage of you application using perfmon. If memory...
  • Speaking of which...

    SessionState Performance

    • 12 Comments
    What do you do when your StateServer is running high on CPU and your application log is filling up with alerts like: Unable to make the session state request to the session state server.
    Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKLM\SYSTEM\CurrentControlSet\Services\aspnet_state\Parameters\AllowRemoteConnection. ...
  • Speaking of which...

    Memory management in the .NET Framework

    • 12 Comments
    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...
  • Speaking of which...

    Getting started with windbg - part II

    • 12 Comments
    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...
  • Speaking of which...

    I've upgraded and now my application doesn't work anymore

    • 11 Comments
    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...
  • Speaking of which...

    Using WinDbg - Advanced commands

    • 11 Comments
    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...
  • Speaking of which...

    Common reasons why your application pool may unexpectedly recycle

    • 10 Comments
    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...
  • Speaking of which...

    The KB article every one should know about

    • 10 Comments
    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...
  • Speaking of which...

    Using WinDbg - Hunting Exceptions

    • 9 Comments
    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...
  • Speaking of which...

    Why adding more memory won't resolve OutOfMemoryExceptions

    • 7 Comments
    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...
  • Speaking of which...

    Problems with Flash-content in the WebBrowser control

    • 7 Comments
    A recent case I worked on involved the following scenario. Problem description The client was building a kiosk-like application. I.e. a WinForms application with the WebBrowser control slapped onto it. The application worked fine for the most part, but...
  • Speaking of which...

    PowerShell - Automatically organizing your mp3-collection

    • 6 Comments
    Is your mp3-collection perfectly sorted? I know mine wasn't. I thought I'd address that while creating a pretty good demo-script to show some basic filtering, script structures, etc. Since I also wanted the script to extract the metadata from every file...
  • Speaking of which...

    Using IE6 With Visual Studio 2008

    • 6 Comments
    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...
  • Speaking of which...

    Monitoring Application Pool and Application Restarts

    • 5 Comments
    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....
  • Speaking of which...

    What to do about the slow startup of web services

    • 5 Comments
    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...
  • Speaking of which...

    Test Projects and AJAX

    • 5 Comments
    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...
  • Speaking of which...

    My web application times out when debugging in IIS7

    • 5 Comments
    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...
  • Speaking of which...

    Exceptions

    • 3 Comments
    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...
  • Speaking of which...

    Running a scheduled PowerShell script on a pre-Vista OS

    • 3 Comments
    It's been fun to see the reception that PowerShell has gotten. People are using it for tons of different stuff and the ingenuity in some of the scenarios is quite impressive. There is one thing, however, that you should be aware of. PowerShell is not...
Page 1 of 3 (58 items) 123