Speaking of which...
Sample solutions from Internet development support
Translate This Page
Translate this page
Did you know?
Browse by Tags
Speaking of which...
Tagged Content List
Using SSL without an Internet connection
Problem If you have a web application that uses SSL and this application, for some reason, is hosted on an IIS that doesn’t have Internet access you will eventually find that any call to the server over SSL will take a lot of time to reply. It doesn’t matter if it’s ASP.NET, classic ASP or even CSS....
2 Feb 2010
Make sure you have an Internet connection when using signed assemblies
A customer called in the other day and told me that his web application took a long time to start. My initial thought was (off course) that it was a matter of the classic slow-to start web services I’ve written about earlier. ( What to do about the slow startup of web services ) As I learned more about...
12 Nov 2009
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...
9 Oct 2009
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...
13 May 2008
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...
2 Apr 2008
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...
18 Feb 2008
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...
18 Jan 2008
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...
23 May 2007
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...
16 May 2007
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...
26 Apr 2007
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...
20 Apr 2007
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...
19 Apr 2007
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...
23 Jan 2007
Problem: 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...
20 Nov 2006
Are you getting OutOfMemoryExceptions when uploading large files?
Problem: Using the WebClient.Upload method for posting large files will eventually leave you stranded with OutOfMemoryExceptions. Cause: WebClient.Upload reads the entire file to memory by default. Resolution: Build your own uploader. Scenario: One of my customers was using...
15 Nov 2006
Page 1 of 1 (15 items)
© 2013 Microsoft Corporation.
Privacy & Cookies