David Wang

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

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

    HOWTO: IIS 6 Request Processing Basics, Part 1

    • 26 Comments
    Alright, I finally got motivated enough by some questions and circumstances to do this brain-dump of IIS6 Request Processing Internals. I will most likely be missing some details here and there so I welcome followup, but I just want to get something down...
  • David Wang

    HTTP.SYS rejection of request lines not terminated by CRLF (Redux)

    • 0 Comments
    Ok... this is the second day in a row now where I am answering a blog comment where I think the answer already exists in one or more of my blog entries. I am now wondering how to avoid having to make redux posts because I am sure there will be a third...
  • David Wang

    Kernel Caching in IIS 6 (Redux)

    • 2 Comments
    Hmm, I got the following question today, and since I had a blog entry that exactly answered the question already, it made me wonder about the visibility of my blog entries to searching... Question: Hi David, I am sure you have a ton of requests...
  • David Wang

    How does JSP work on IIS?

    • 20 Comments
    The following question is often asked - why IIS does not support using JSP directly? Allow me to explain what is really going on here... Question: Does IIS 5.0 support the use of .jsp pages directly or do I need to use a separate server or extensions...
  • David Wang

    Some Sample Code to illustrate XML manipulation by JScript

    • 0 Comments
    It seems that some folks just want free code. Question: Hi, I am not sure if it's really that on 18 Mar 2004 wrote in the newsgroups how to do stuff with XML files in WSH. "I do this all the time and have tons of script code that read/manipulate...
  • David Wang

    HOWTO: See who is logged into IIS

    • 0 Comments
    This is a common requested "feature" of IIS - I want to see what users are currently "Logged in" to my IIS application. Now, this feature can certainly be implemented, but it is unlikely to ever be a built-in "feature" of IIS, and here is why... Question...
  • David Wang

    Putting on the Web Developer Hat...

    • 15 Comments
    The past week, I put on the classic "Web Developer" hat to do some heads down work, so blogging, writing replies back to blog-comments, and answering newsgroup posts has been a bit more sparse. Some of you are probably wonder why I am even doing web development...
  • David Wang

    HOWTO: Diagnose one cause of 503 Service Unavailable on IIS6 on 64bit Windows

    • 2 Comments
    Strange. I have answered this question recently on how to diagnose a common cause of "503 Service Unavailable" on IIS6 in 64bit Windows (in particular, Windows XP 64bit Edition and Windows Server 2003 SP1 64bit Editions), but the "search" facilities from...
  • David Wang

    Thoughts on IIS Security vs Apache, Part 2

    • 12 Comments
    I got some interesting comments on my prior blog post, and since I started typing out a big essay in response, I figured I should just blog and link it instead. :-) Question: Hello, i have subscription of Redmond magainze and wow i can't believe...
  • 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: 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: 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

    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

    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

    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...
  • 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: 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

    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: 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

    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

    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

    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

    HOWTO: Protect non-.NET content

    • 27 Comments
    This is a frequently asked question - how to implement custom authentication on IIS. I am going to ramble a bit about the whole subject because this is a little pet peeve of mine... Question: Hi David, I am an avid lurker on your Blog and our...
  • David Wang

    HOWTO: Understand and Diagnose an Application Pool Crash

    • 123 Comments
    Problems statements similar to the following questions pop up all the time on various IIS newsgroups, and the user usually claims that they have either seen (or not seen) many posts that look like theirs, and never any concrete solutions. I am going to...
Page 8 of 11 (266 items) «678910»