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 2 - Web Site, Virtual Directory, and Web Application

    • 13 Comments
    Question: In brief, what is different about a virtual directory that is also set as a Web Application? I can have a virtual directory, and then optionally set it to be a Web Application. Beyond updating the metabase, what does IIS do that causes the...
  • David Wang

    HOWTO: PreCondition an ISAPI Extension DLL

    • 2 Comments
    Question: Hello We have a legacy x64 ISAPI extension that runs without problems in Win 2003 64bit - IIS 6.0. But in Win2008 EBS Security Manager setup, IIS 7.0 Default Application Pool's WOW64 / Enable32BitApp property is enabled by default,...
  • David Wang

    WebDAV, Source, and Read Permissions on IIS

    • 1 Comments
    Question: Hello: With the new WebDAV upgrade in IIS 7.0, there is a permission named "Source". How is the "Source" permission different from "Read" please? What if "Source" is enabled but "Read" is not?? Answer: Source and Read permissions...
  • David Wang

    Managed Modules and ISAPI Filters

    • 4 Comments
    Question: Hello, I have an isapi filter and a managed module. I need to put both in the same website and I need that the manage module run before the isapi filter. The sequence are: Module--->ISAPI filter. How can I do this? Answer: The...
  • David Wang

    HOWTO: Change IIS User Impersonation Token

    • 2 Comments
    Question: Hi, We are using our third party component for doing authentication and authorization with IIS6 web server on win2k3 X64 EE. Here we are using IMPERSONATION concept for this integration. Can anybody describe the required configuration...
  • David Wang

    IIS7 Handlers - accessPolicy and requireAccess

    • 3 Comments
    Question: Hello: In IIS 7.0, you can edit a handler mapping in the Handler Mappings applet (like for AspClassic), then click Request Restrictions button, Access tab, and select the "Write" permission. But even when the "Edit Feature Permission"...
  • David Wang

    Choice of Development Platform for IIS Modules

    • 1 Comments
    Question: I am starting a new project (ASP.NET 3.5) that will require at least one custom HTTP module. My two development computers are running 32-bit XP Pro/SP2, but I plan to reimage with Vista (already have it ready to be installed). My preference...
  • David Wang

    HOWTO: List all Virtual Directories and Paths of a List of Servers

    • 12 Comments
    Question: I need to audit web servers in my domain, and would like to be able to connect to each server, and enumerate the virtual directories -- ultimately leading to a link to each web site hosted by the server. Can this code be modified to get that...
  • David Wang

    HOWTO: Create Custom Application Pool from Commandline

    • 13 Comments
    Question Hi, I have a Web site configured to run in a custom application pool. The pool identify is set to a domain user. I can change the users password using IIS Manager, but is there a command line method ? Thanks Answer You can use...
  • David Wang

    I'm Back...

    • 15 Comments
    After a long and very much needed hiatus, I have regained control of this blog and returned to blogging. For the curious reader, you can read about some of the happenings here . But, I am not one for dwelling on the past (except to learn and improve upon...
  • David Wang

    Internet Explorer is not an HTTP Validator

    • 7 Comments
    Question: I tried a 2nd approach in porting client code from WinInet, and that was to utilize managed C++, as opposed to WinHttp. After implementing the .NET managed client code... HttpWebRequest^ myReq = dynamic_cast<HttpWebRequest^>(WebRequest...
  • David Wang

    Water Day 2006

    • 2 Comments
    Annually, the IIS team gathers at Emily's house on the shores of lake Sammamish to enjoy a day of fun under under the sun. We call it "water day", and it has been a team tradition for at least as long as I have been on the IIS team. Its organization...
  • David Wang

    Hunting for Real Estate

    • 8 Comments
    Lately, I have not been making frequent blog posts. There are good reasons, of course... and I will get to disclosing them in the near future. Recently, I have been spending a lot of time house-hunting. Yeah, I have decided that it is about time for...
  • David Wang

    What is wrong with Free?

    • 8 Comments
    Ok, maybe this is something you business/marketing types understand intrinsically... but it is something that I do not understand, so please bear with me. Why do people complain about getting something for free that used to require money? I thought people...
  • David Wang

    TS Gateway on Vista Server Rocks!

    • 2 Comments
    Back in this blog entry , I mused about the nice Audio over RDP feature. It is pretty sweet to have secure, remote access to one's audio collection. Well, I recently started playing with RDP over the new TS Gateway on Vista Server, and I have to say...
  • David Wang

    Laptop Business 2006

    • 5 Comments
    Ok, I know that I just purchased an IBM X41 Tablet last fall, but I am in the market for a new laptop again. No, nothing wrong with my computers... I am just going to be giving the X41 to my younger sister so that she can use it during Law School the...
  • David Wang

    HOWTO: Basic Native/Managed Code Interop

    • 1 Comments
    IIS7 core extensibility model supports both native and managed code as first-class citizens. So, I feel it is time for a little refresher on managed/native code interop... starting with the more popular route of how to wrap native code API for use within...
  • David Wang

    CGI Failing with 404 on IIS

    • 0 Comments
    Yes... software can have bugs, even if you test it. :-) Question: I have written a C EXE that I have renamed as 'prog.cgi'. I have tested it successfully on IIS 5.0 on Windows 2000 Server and IIS 6.0 on Windows 2003 Server. The program is invoked...
  • David Wang

    Can ISAPI Filter change the Request's domain name?

    • 6 Comments
    Question: Hi, I would like to know if we can get the entire URL that is sent through the browser into the ISAPI filter DLL. E.g. If I have a URL like - http://www.mysite.com/test what I get into the DLL (using GetHeader) is "/test". But I...
  • David Wang

    HOWTO: Convert between JScript Array and VB Safe Array

    • 12 Comments
    I recently got a question about how to manipulate the LIST data type within JScript since my sample code only illustrated VBScript. Well... one reason why that example is in VBScript is because LIST manipulation (a VB SafeArray) is more straight forward...
  • David Wang

    IIS, Security Templates, and Anonymous Authentication

    • 5 Comments
    Sigh... security is never black and white, is it? :-) Question: Environment: IIS6.0 Windows 2003 R2, Windows 2003 level domain. Everything standard. 1) The Microsoft security guide for IIS6.0 says that the IUSR account needs Log on Locally rights...
  • David Wang

    HOWTO: Monitor Virtual Server Events

    • 9 Comments
    I think Virtual Server Events and Asynchronous Tasks are two of the least utilized features of the Virtual Server Administration API. Contrary to the often-asked task of "find the VM, turn it off, manipulate its VHD, then turn it back on", which shows...
  • David Wang

    Six Years...

    • 5 Comments
    Gosh, how quickly time flies by. It seems like yesterday when I was just getting started on this blog and typing out the entry for my 5-year anniversary at Microsoft. At that time, I had just finished doubling my number of blog entries, was in the midst...
  • David Wang

    Deploying and Updating Virtual Machines

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

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

    • 9 Comments
    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...
Page 1 of 11 (266 items) 12345»