The Web Client architecture lets you deploy a project from within the CitectSCADA configuration environment, avoiding the need to use the Web Client interface to setup a system.
This process requires you to adjust two parameters in the Citect.ini file:
These parameters identify the client component used with the project and the location of the deployment root directory. When the project is compiled and prepared for deployment, it is placed directly on the Web Server.
Citect.inifile configuration, as any errors with these parameters are difficult to diagnose. To avoid input errors, use the Web Deployment Tool on the Citect Explorer tool bar with the Web Server's Web Deployment GUI.
To deploy a project from within CitectSCADA:
Citect.inifile. This parameter represents the directory where the deployment will be located on the WebServer.
If you have set up an IIS-based Web Server, the default location will be the Deploy directory within the installed directories. For example:
DeployRoot="C:Program Files\Citect\CitectSCADA 7.10
Note: When setting the
[WebServer]DeployRoot ini parameter, the path
needs to contain "deploy" as the last subfolder name, otherwise the
deployment will be unsuccessful. Use a mapped drive instead of a
UNC address if deploying to a network destination from a Windows
2000 system. Do not map a drive directly to the deployment
location, as the path needs to finish with a "deploy"
Citect.inifile. This parameter represents the directory path and client component to use when a deployment is run, in relation to the installed Client directory. For example:
Note the use of a forward slash in the defined path.
Your project will now appear as a deployment within the Web Client home page next time you log in.
Note: You can run the Web Deployment Preparation process automatically when you compile a project. To do this, go to the Citect Project Editor Tools menu and choose Options. Select the Prepare for Web Deployment option and click OK. Be aware, however, that this might increase the time necessary for a project to compile.
If port forwarding is being used, you will need to log in to the Web Client as an Administrator, select the project, and then the Edit Deployment button:
This will take you to the deployment configuration page.
If you have alarm properties enabled on an Alarm Server, you will need to configure an alarm properties connector as a separate server to let the Web Server know which port it is running on. Type the Alarm Server name in the Server field, using the following format:
Note: The Web Client will automatically add any servers that are redirected in this way to the [AddressForwarding] section of the local Citect.ini file. See Using address forwarding for more information.
You can add additional servers to the list by selecting the Add New Server icon.