Skip to main content

Task IIS - Add App Virtual Directory​

The IIS - Add App Virtual Directory Task creates a virtual directory in an existing application of a website, in the IIS of the VisualCron Server computer, using an IIS Connection. A virtual directory maps a URL path to a physical folder, so that content from different locations appears under one application.

IIS - Add a new app virtual dir Task settings, with the Connection, Application parameters and Virtual directory parameters groups

warning

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 - Add a new app virtual dir tab​

  • Connection: the IIS Connection. Required. Click the Settings icon to open Manage Connections
  • Site name (Application parameters group): the name of the website. Click the Refresh icon to list the websites of the VisualCron Server computer. The name must match exactly, including case
  • Application name: the path of the application, for example "/" for the root application of the website or "/myapp". Required. Click the Refresh icon to list the applications of the website. The path must match exactly, including case
  • Virtual directory: the virtual path of the new virtual directory in the application, for example "/images"
  • Path (Virtual directory parameters group): the physical folder that the virtual directory maps to. Click the Browse icon to select a folder
  • Logon method: how IIS logs on with the user in Credential to reach the folder: "Interactive", "Batch", "Network" or "Clear text". When empty, the IIS default is used
  • Credential: the user that IIS uses to reach the folder. The Task writes the Credential's user name and password into the IIS configuration of the virtual directory. When no Credential is selected, the IIS default is used. Click the Settings icon to open Manage credentials; see Global - Credentials
warning

The Task copies the user name and password of the selected Credential into the IIS configuration of the virtual directory. IIS keeps its own copy: changing or deleting the Credential in VisualCron later does not change IIS.

Output and errors​

On success, the output is "Success". When the website or the application is not found, the Task does nothing and writes no output, and the Task reports success.

The TimeOut tab does not stop this Task.