David Wang

David Wang on IIS, ISAPI, Exchange, Virtual Server, and whatever else I fancy...

September, 2005

Blog - About

David's Bio

1/30/2006

Hurray... there is finally an "About the blog author" link... so I am going to move my links here.

//David

  • David Wang

    Why do I lose ASP Session State on IIS6

    • 58 Comments
    A common, mysterious behavior encountered by ASP applications on IIS6 is the loss of session state. It seems to disappear more often and Session.Timeout seem to be ineffective. Why? Question: I have session.timout set to all day(1440 minutes). ...
  • David Wang

    HOWTO: Diagnose IIS6 failing to accept connections due to Connections_Refused

    • 108 Comments
    Recently, I have seen a bunch of questions asking: "IIS6 runs fine for X amount of time [where X varies from days to weeks] and then all of a sudden, it stops accepting all connections. If I restart/reboot the server, then it is fine again... until X...
  • David Wang

    HOWTO: Diagnose one cause of 503 Service Unavailable on IIS6

    • 37 Comments
    I recently got this question about encountering a 503 Service Unavailable error on 64bit Windows. The author chose to uninstall .NET Framework 1.1 as the resolution, but I think there are some better alternatives... Question: I was delighted to...
  • David Wang

    HOWTO: ISAPI Filter which Logs original Client IP for Load Balanced IIS Servers

    • 72 Comments
    Invariably, when you run IIS servers that are load-balanced or forwarded requests behind some other network device, you will find that IIS logs the IP of the network device and not the original client that made the request. Technically, there is no...
  • David Wang

    HOWTO: Provision ASP.Net AppDomains and IIS6 Application Pools

    • 17 Comments
    This is a frequent source of confusion - how ASP.Net and IIS does application isolation. The key point to remember is that IIS runs native code and thus relies on NT user identity (and thus NT process) for isolation, while ASP.Net runs managed code with...
  • David Wang

    HOWTO: Use IIsWebFile to Securely Run CGI in /cgi-bin from the root directory

    • 8 Comments
    One of the least leveraged features of IIS is the IIsWebFile, which can work absolute wonders within the proper configuration, as I will shortly show... Question: Hi I have a CGI script (in perl) in a cgi-bin directory. I want to be able to run...
  • David Wang

    HOWTO: Mass Shared Hosting on Windows with IIS6

    • 6 Comments
    I got this recent question concerning the "limitations of ISAPI" as it pertains to mass shared hosting on IIS6. Hmm... I had to do a double-take because I was not aware of such limitations of ISAPI - in fact, Microsoft has published a mass shared hosting...
  • David Wang

    Thoughts on IIS Security vs Apache

    • 8 Comments
    I got the following interesting question about IIS security and whether it was better to "protect" IIS with an Apache server in front of it. Hmm, let's take a step back and look at what is security... Question: Hey, I really like your blog. I was...
  • David Wang

    HOWTO: Obtain support if DebugDiag reports ntdll.dll is responsible

    • 1 Comments
    Question: Hi David, Thanks for the blog / posts... I have installed the DebugDiag from MS Betas, and have heaps of reports saying... Please follow up with the vendor Microsoft Corporation for C:\WINDOWS\system32\ntdll.dll and wonder if I can...
  • David Wang

    Can ISAPI Filter remove entries from the IIS log file?

    • 4 Comments
    I recently got this question about how to not log certain requests to the IIS log file. Question: As a hosting provider on several high traffic IIS6 based sites, we see TONS of disk space chewed up by the log entries that reflect our remote monitoring...
  • David Wang

    IIS7. Why Global Managed Modules are Disallowed

    • 15 Comments
    Ok, I have been pretty busy the past 10 days with both work and life, and I have not had a chance to post any blog entries. While I cannot say that I am any less busy now, I definitely have a lot of catchup and posts to make... so here goes. This question...
  • David Wang

    Question about GetServerVariable QUERY_STRING

    • 4 Comments
    I recently got this question about the behavior of QUERY_STRING values. Unfortunately, server variable values are more a matter of art than science, as I will shortly describe... Question: Hi David, I am having an interesting problem. I have...
  • David Wang

    Why do I Blog?

    • 3 Comments
    I was sifting through my list of blog posts recently (I now have over thee dozen unpublished posts sitting around in various stages of completeness...), and I found and decided to complete this one. I actually wrote this post back on March 2, 2004...
  • David Wang

    ISAPI Extension using Managed Assemblies results in File Not Found

    • 0 Comments
    I recently got a question concerning ISAPI using managed assemblies. Question: Hello First of all I developed an isapi extension that was a simple one. It was working properly. I then add referneces to some managed dlls in it and copied them...
Page 1 of 1 (14 items)