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

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

    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: 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: 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: Diagnose and Fix Common ISAPI Filter Installation Failures

    HOWTO: Diagnose and Fix Common ISAPI Filter Installation Failures...
  • 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: 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

    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

    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

    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

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

    HOWTO: Diagnose one cause of W3SVC failing to start with Win32 Error 193 on 64bit Windows

    I recently came across an interesting new variation of "failure" related to enabling WOW64 that can happen on IIS6 on 64bit Windows... so I am going to explain what happened and how to fix it. Question: Hi, I ran into an issue with IIS in wow64...
  • 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 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

    How does JSP work on IIS?

    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

    HOWTO: Detect Process Bitness

    In an ideal world, everything runs as native bitness (64bit program on 64bit OS, 32bit program on 32bit OS) and life goes on. However, sometimes you need to run that legacy 32bit program on a 64bit OS and need to configure things a little differently...
  • David Wang

    HOWTO: Retrieve Request Headers using ISAPI, ASP, and ASP.Net

    Developers frequently confuse Request Headers, Response Headers, and Server Variables as well as the appropriate syntax to retrieve/manipulate each of them, depending on the API (ISAPI, ASP, and ASP.Net). I am going to clarify all of this right now. ...
  • David Wang

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

    Some users have reported that IIS6 still refuses to allow an EXE file to download even after removing "Scripts and Executables" Execute Permission and making sure that .EXE has a MIME Type. Alright... I will have to come up with some more non-obvious...
  • 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

    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

    HOWTO: Diagnose One Cause of "%1 is not a valid Win32 application" on IIS6 on 64bit Windows

    Question: I have a new development server that i put together on a Windows 2003 64 bit machine. I also have SQL Server 2005 and Developers Studio 2005 and 2003 installed on this machine. I have executed the "Enable32bitAppOnWin64 1" command, as per...
  • David Wang

    Deploying and Updating Virtual Machines

    The following are some of the more frequently asked questions when it comes to deploying a group Virtual Machines sharing common configuration. After updating the VHD and VMC, how to re-deploy the changes out to the group of physical machines ...
Page 1 of 11 (266 items) 12345»