Task IIS - Delete App Virtual Directory
The IIS - Delete App Virtual Directory Task removes a virtual directory from an application of a website, in the IIS of the VisualCron Server computer, using an IIS Connection.

This Task uses an IIS Connection; see Connection - IIS. The Task always works on the IIS of the VisualCron Server computer: the Connection's Address is not used, and the changes are made as the account of the VisualCron Server service, which must be allowed to change IIS. The Connection's Username and Password are used only for network access.
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
IIS - Delete an existing app virtual dir tab
The names below are matched without regard to case.
- Connection: the IIS Connection. Required. Click the Settings icon to open Manage Connections
- Site name (Web site name group): the name of the website. Required. Click the Refresh icon to list the websites of the VisualCron Server computer
- Application name: the path of the application, for example "/" for the root application or "/myapp". Required. Click the Refresh icon to list the applications of the website
- Virtual directory: the virtual path of the virtual directory to remove, for example "/images". Required. Click the Refresh icon to list the virtual directories of the application
The Task removes the virtual directory from the application without a prompt. VisualCron cannot undo it.
Output and errors
On success, the output is "Success". When the website, the application or the virtual directory is not found, the Task does nothing and writes no output, and the Task reports success.
The TimeOut tab does not stop this Task.