Welcome to MSDN Blogs Sign in | Join | Help

Rahul Soni's blog

Never assume the obvious is true!

News



  • These postings are provided "AS IS" with no warranties, and confers no rights.

Browse by Tags

All Tags » IIS   (RSS)
VectorSendThrottleLimit in IIS, shall we... shan't we?
Okay, first of all a disclaimer... don't try this on a production box. I am lucky enough to have a spare Win 2k3 box to play with and do the changes required. So without any further ado, let me point out a KB which is often misread... 916984 . Recently, Read More...
Connection and ASP Script Timeouts using Netmon 3.0
Let's have a look at the difference between Connection timeout and ASP Script Timeout today! 1. Connection Timeout in Default Web Site As you can see below, the Default Web Site properties on my Win 2k3 machine has Connection Timeout set to 120 seconds. Read More...
Cookies case study - with SSL - and Frames (classic ASP)
This blog post intends to shed some light on the default behavior of a few things related to cookies in conjunction with SSL and Frameset. After reading through this post, you should have a better understanding of how things should ideally look like, Read More...
Changing ASP.NET version in ASP.NET tab of IIS has no effect
I ran into another similar issue while playing around and thought I must share... By default, when you open IIS Manager, right click on any Virtual Directory and click on Properties it would show the following dialog box. Note that, I have activated the Read More...
I am an Admin on my PC... why doesn't my PC recognize me?
Well, as always... let me begin with a some background information. I had an IIS server named "RahulServer" and everything was just fine. One fine day, when I was at my destructive best... I thought of playing around with some of the DCOM related settings Read More...
customErrors defaultRedirect is not redirecting in ASP.NET
In one of my projects I was trying to use customErrors in ASP.NET and it was not working as I would expect. In the web.config I had the following... <customErrors defaultRedirect="~/Misc/ErrorPage.aspx" mode="On"> <error statusCode="404" redirect="~/Misc/ErrorPage.aspx" Read More...
Using Forms Based Authentication in ASP.NET for Static Content (Doc Files, PDF Files etc.)
Scenario: You want to implement Forms based authentication for ASP.NET web application, and you have certain document/PDF files which need to be protected. It should be such that even if you try to browse that .doc file directly, it should take you to Read More...
DW20.exe was stopping us from taking the Crash Dumps in w3wp.exe! How to disable it?
While I was working on this issue today, I was thinking of this old adage... "When the going gets tough, the tough get going!". It looked pretty simple initially, and the issue was that the IIS worker process, W3WP.exe was crashing when the users tried Read More...
A sample aspx page to show the security details
This is a pretty small sample to help you figure out the ASP.NET identity matrix and how it comes in effect. I am posting this since quite often we need to troubleshoot security related issues on a production website and making any Application level changes Read More...
Customize errors which are not captured by customErrors in ASP.NET 2.0
Yesterday, I came up with an interesting issue where a customer wanted to customize a 500 error message ("Internal Server Error"). Interestingly, customErrors DID NOT seem to work for StatusCode 500! We just wanted to verify if it works for 404, and it Read More...
Troubleshooting Cookies - A Case Study
A few days ago, one of my colleagues asked a very simple question... "Do we have any document which talks about Cookies from the troubleshooting perspective in general?". I was pretty amused for some reason and I thought okay, let me give you a detailed Read More...
How to repro Server Too Busy Errors?
Well, before doing anything like this, PLEASE ensure that you are working on a Demo box. I am working on Win 2003 which is my Development box and I can bear the impact of that error message. The first question is WHY would you like to Repro an error message Read More...
Suppress caching of certain MIME types like GIF, JPG etc
I had an interesting problem sometime back which I would like to share. We had a page which did some data processing and created a graph (in GIF format) based on that page's information. The GIF file got overwritten (new graph got generated due to the Read More...
Page view tracker