Sign in
Speaking of which...
Sample solutions from Internet development support
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
ASP.NET
Automation
Bugs
Debugging School
Did you know?
Encoding
Exceptions
GC
Hangs
IIS7
Legacy
Managed Heap
Misc
Off topic
OutOfMemory
Performance
PowerShell
Sample Code
Script
SessionState
Stress
Tools
Visual Studio
WinDbg
Worker Process
Archive
Archives
December 2011
(2)
September 2011
(1)
March 2011
(1)
September 2010
(1)
February 2010
(1)
November 2009
(1)
October 2009
(1)
August 2009
(1)
May 2009
(1)
March 2009
(4)
December 2008
(1)
October 2008
(3)
September 2008
(1)
August 2008
(2)
May 2008
(3)
April 2008
(2)
March 2008
(1)
February 2008
(6)
January 2008
(4)
December 2007
(2)
November 2007
(5)
September 2007
(2)
June 2007
(1)
May 2007
(2)
April 2007
(3)
March 2007
(1)
January 2007
(3)
November 2006
(3)
MSDN Blogs
>
Speaking of which...
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Speaking of which...
Getting started with windbg - part I
Posted
over 6 years ago
by
JohanSt
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?
Posted
over 7 years ago
by
JohanSt
36
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?
Posted
over 5 years ago
by
JohanSt
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
Posted
over 5 years ago
by
JohanSt
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...
How to install Windbg and get your first memory dump
Posted
over 6 years ago
by
JohanSt
14
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?
Posted
over 6 years ago
by
JohanSt
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...
PowerShell - Editing permissions on a file or folder
Posted
over 5 years ago
by
JohanSt
13
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...
Memory management in the .NET Framework
Posted
over 6 years ago
by
JohanSt
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
Posted
over 6 years ago
by
JohanSt
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...
SessionState Performance
Posted
over 7 years ago
by
JohanSt
11
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...
I've upgraded and now my application doesn't work anymore
Posted
over 6 years ago
by
JohanSt
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
Posted
over 5 years ago
by
JohanSt
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...
The KB article every one should know about
Posted
over 6 years ago
by
JohanSt
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
Posted
over 5 years ago
by
JohanSt
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...
Common reasons why your application pool may unexpectedly recycle
Posted
over 6 years ago
by
JohanSt
8
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...
Why adding more memory won't resolve OutOfMemoryExceptions
Posted
over 6 years ago
by
JohanSt
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
Posted
over 4 years ago
by
JohanSt
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...
Using IE6 With Visual Studio 2008
Posted
over 5 years ago
by
JohanSt
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...
Test Projects and AJAX
Posted
over 6 years ago
by
JohanSt
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
Posted
over 6 years ago
by
JohanSt
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...
What to do about the slow startup of web services
Posted
over 5 years ago
by
JohanSt
4
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...
Monitoring Application Pool and Application Restarts
Posted
over 5 years ago
by
JohanSt
4
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...
PowerShell - Automatically organizing your mp3-collection
Posted
over 5 years ago
by
JohanSt
4
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...
PowerShell - Advanced configuration editing in IIS7
Posted
over 5 years ago
by
JohanSt
3
Comments
I've written a lot of PowerShell posts lately and here's another one. :-) I got a question from one of the account managers if it was possible to alter the FTP Authorization Rules for a specific folder on his IIS. The appcmd for the operation was appcmd...
Speaking of which...
Running a scheduled PowerShell script on a pre-Vista OS
Posted
over 4 years ago
by
JohanSt
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)
1
2
3