Task IIS - Add Website Application
The IIS - Add Website Application Task creates an application in an existing website, in the IIS of the VisualCron Server computer, using an IIS Connection. An application is a group of web content that is reached through a URL path of the website.

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 application 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 url: the path of the new application in the website, for example "/myapp"
- App pool name: the application pool of the application. Required. Click the Refresh icon to list the application pools of the VisualCron Server computer
- Enabled protocols: the protocols enabled for the application, separated by commas, for example "http,https". When empty, the IIS default is used
- Path (Virtual directory parameters group): the physical folder of the application root. 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 application. When no Credential is selected, the IIS default is used. Click the Settings icon to open Manage credentials; see Global - Credentials
The Task copies the user name and password of the selected Credential into the IIS configuration of the application. 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 is not found, the Task does nothing and writes no output, and the Task reports success.
The TimeOut tab does not stop this Task.