David Wang

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

Blog - About

David's Bio


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


  • David Wang

    HOWTO: Common URL Redirection Techniques for IIS, Summary

    For the next several entries, I am focusing on this frequently asked topic: How do I rewrite / redirect / forward / mask requests from one URL to another with IIS? Common questions that fall into this topic include: Redirect requests from...
  • David Wang

    HOWTO: Allow file downloads (including .exe) on IIS 6.0

    Variations of this question are asked of IIS 6 all the time. However, the answer is no different than for any other version of IIS other than the fact that IIS 6 gives you a distinct error code to troubleshoot. What is not clear to me is why users think...
  • David Wang

    HOWTO: Understand and Diagnose an Application Pool Crash

    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...
  • David Wang

    How to Manipulate (insert/replace/remove) LIST data type in IIS Configuration

    Sample tool in VBScript to manipulate (insert/replace/remove) individual LIST items....
  • David Wang

    HOWTO: Diagnose IIS6 failing to accept connections due to Connections_Refused

    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 401.x HTTP errors on IIS

    One of the most common questions asked about IIS on the newsgroups as well as Microsoft Product Support is "why am I getting 401 Access Denied"? There are many, many possible causes and variations, but from the IIS perspective, the top-level, logical...
  • David Wang

    HOWTO: Enumerate IIS website configuration (VBScript using ADSI)

    A powerful but often under-utilized and misunderstood feature of IIS is its programmatic configuration APIs. On the one hand, all IIS administrative APIs allow programmatic, automated, and unattend configuration of IIS. On the other hand, it can be hard...
  • David Wang

    HOWTO: Diagnose and Fix Common ISAPI Filter Installation Failures

    HOWTO: Diagnose and Fix Common ISAPI Filter Installation Failures...
  • David Wang

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

    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: Install and run PHP on IIS7

    Question: Hi all, I have trouble to configure PHP 5 (CGI mode) in IIS 7 on Vista 5308... What I did: - Download and unpack PHP - set user permission to PHP folder AND script folder (IIS_IUSRS and Internet Guest Account) - in IIS Manager: Added...
  • David Wang

    Why you get Access Denied despite being an Administrator or enabled Anonymous Access in IIS

    Why you still get access denied to IIS even if you are an administrator or enabled anonymous access....
  • David Wang

    HOWTO: Maximize the Number of Concurrent Connections to IIS6

    Question: I'm considering building a realtime ASP.NET application on IIS6, that'll need to support about 3,000 simultaneous users on a server, each with a keep-alive HTTP connection for "server push." The HTTP connection will need to stay open for...
  • David Wang

    Why do I lose ASP Session State on IIS6

    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: Install and Run PHP on IIS7, Part 2

    A couple of months ago, I wrote a quick and dirty entry on how to install PHP on IIS7. The main purpose of that entry was to explain the details of what was going on as well as cookie-cutter instructions of one way to successfully install PHP on IIS7...
  • David Wang

    HOWTO: Run Console Applications from IIS6 on Windows Server 2003, Part 2

    I finally have enough blog entries about various portions of IIS6 request processing that I can stitch together this meta-blog-entry explaining how it all works together and then apply it towards an issue. You probably want to keep a link to this loaded...
  • David Wang

    Thoughts on Application Pool Recycling and Application Availability

    Question: I am running IIS 6.0. We are currently trying to incorporate our application pools to recycle every 2 hours. The problem is everytime the the pool is recycled and the process is killed everyone connected to that webpage loses all connectivity...
  • David Wang

    Have you seen a WebEngine.dll crash with ASP.Net 2.0? Read This...

    Lately, I have received quite a few comments concerning a crash in WebEngine.dll when you recycle an application pool running ASP.Net 2.0. The sheer number of independent users reporting this makes be believe that it is real. If it was individual users...
  • David Wang

    HOWTO: Basics of IIS6 Troubleshooting

    I recently sat down and thought a little about the typical user experience when troubleshooting IIS6, assuming s/he had little/no IIS context that long-time users have... and the picture did not look so good. Now, I know that IIS7 will make huge improvements...
  • David Wang

    HOWTO: Use the HTTP.SYS Kernel Mode Response Cache with IIS 6

    Motivation One of the bigger buzz-word features of IIS 6.0 on Windows Server 2003 is the "HTTP.SYS Kernel Mode Response Cache". When you do a search against "HTTP.SYS Kernel Response Cache IIS 6", you will inevitably find a large body of literature...
  • David Wang

    HOWTO: Sharepoint and CustomAuth, Part 1 - Soliciting Questions

    I have been getting a bunch of private requests from many people asking me variations of the following questions: "I want to use Sharepoint, but I want user authentication to be done with CustomAuth [or their own Wildcard Application Mapping ISAPI...
  • David Wang

    Audio over Remote Desktop Rocks!

    I was recently introduced to this nifty little feature of Remote Desktop of Windows XP - bringing remote audio to the local machine. I have to say that I just LOVE this creature comfort feature... Now, I never knew nor thought about it earlier because...
  • David Wang

    HOWTO: Compile and Use my ISAPI Code Samples

    Since I get this following question on how to compile/use my ISAPI code examples quite a bit, I wager I should just have a blog post that answers it once and for all. But, come on you guys... I already did the hard part in providing the full compiling...
  • David Wang

    HOWTO: Diagnose one cause of 503 Service Unavailable on IIS6

    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

    What User Identity does IIS use to run code like ISAPI and CGI, Part 2

    I seem to have forgotten to describe how the following aspect of IIS functions in the prior post because I was concentrated on clarifying something else (that your Windows logon is NOT the same as logon via IIS). Thus, I got the following followup: ...
  • David Wang

    Why do I still get a user/password Login prompt with Integrate Authentication (for Virtual server 2005 Administration website)

    When Integrated Authentication is enabled, users frequently wonder why they are still prompted for username/password. After all, isn't Integrated Authentication supposed to get rid of that? Thus, the following question has come up several times when...
Page 1 of 11 (266 items) 12345»