Quantcast
Channel: David Wang
Browsing all 35 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

HOWTO: Sharepoint and CustomAuth, Part 2 - Investigations Update

About a month ago, I solicited user questions in this blog entry on how to integrate customized authentication protocol with Sharepoint, and I was a little overwhelmed by the responses and the variety...

View Article



Image may be NSFW.
Clik here to view.

HOWTO: Install Virtual Server VM Additions Unattended

Question:I was wondering if it is possible not to have the virtual machine additions installation eject the iso image after installing, maybe an undocumented switch.I have created a custom OS...

View Article

Image may be NSFW.
Clik here to view.

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

View Article

Image may be NSFW.
Clik here to view.

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

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Run Console Applications from IIS6 on Windows Server 2003

Question:I need some help on the following: I am trying to exectute the netstat comand in side a PHP script using PHP on a wnidows server 2003. The problem is that i am haveing a problem getting the...

View Article


Image may be NSFW.
Clik here to view.

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

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Get Field Data for Custom Logging with ISAPI Filter

Question:I'm trying to write a Filter that handles writing a W3C-compliant log file based on a special set of criteria.  I have found most of the needed information in GetServerVariables(), but I still...

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Perform VHD Maintenance Automatically

Question:I would like to have a night script to run on guest machines and perform the following tasks:1. start / restore from saved state if machine is not running (preferably disconnected from network...

View Article


Image may be NSFW.
Clik here to view.

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

View Article


Image may be NSFW.
Clik here to view.

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

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Rename the Computer running IIS6

Question:Hi ,I have two web servers. One web server(w2k3Ent) and IIS 6.0 in a work group and One identical Web Server in the Domain. I want to now rename the Server names of the both, to comply some...

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Useful ASP page to return configurable HTTP Status codes

Sometimes, you just want a simple test page on IIS to do some automated testing of your code that interacts with IIS. Here is another useful one in the series.Question:Hi,I have some negative testing...

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Access POST form data with ISAPI

This is a frequently asked question about IIS6 extensibility - how to access the request entity body on the way in - as well as how to configure IIS.Question:I want to catch all incoming requests, add...

View Article


Image may be NSFW.
Clik here to view.

HOWTO: Useful ASP page to retrieve Request and send Response Headers

I am finishing up on the series of ASP pages that show how to:Send Responses of arbitrary Status CodeSend Responses with arbitrary types of Entity BodySend Responses with arbitrary Headers (this entry)...

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Enumerate IIS website and ftpsite configuration (VBScript using ADSI)

I recently got a request to make a script to illustrate how to enumerate useful values from both Web and FTP sites serviced by IIS, so I decided to make some additions to the original script tool...

View Article


Image may be NSFW.
Clik here to view.

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

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Install and Run PHP on IIS7, Part 3

A short while ago, I came out with a small script to properly configure PHP for IIS7. Sure enough, I got asked to make a similar one for IIS6. So, I figure that while I am at it, I might as well cover...

View Article


Image may be NSFW.
Clik here to view.

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

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

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Monitor Virtual Server Events

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,...

View Article

Image may be NSFW.
Clik here to view.

HOWTO: Convert between JScript Array and VB Safe Array

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

View Article
Browsing all 35 articles
Browse latest View live




Latest Images