Create an Out-of-Process Application in a Web Directory

Creates an out-of-process Web application in the W3SVC/2142295254/root/aspnet_client_folder directory.

VBScript Code


Const OUT_OF_PROCESS = 1
 
strComputer = objNetwork.ComputerName
Set objIIS = GetObject _
    ("IIS://" & strComputer & "/W3SVC/2142295254/root/aspnet_client_folder")

objIIS.AppCreate2 OUT_OF_PROCESS