Deploying as a Web Application • Advanced button: Click to access additional configuration options: Secure Viewer Configuration Utility — Advanced Settings • Secondary Data Server IP field: Type the IP address (or host name) of the secondary data server station. If the primary data server fails, the Secure Viewer will attempt to connect to the secondary data server automatically. • Backup URL field: Type the URL of the backup location of the project file. • Date Format : Adjust the date format on the Secure Viewer station to match the Data Server. This is to maintain compatibility with any Alarm/Event Control or Trend Control objects that you have in your project.
• Timeout for switching stations field: Enter the number of seconds that the Secure Viewer should wait before attempting to connect to the secondary Server, in the event that the primary Server fails. (For more information, see Web tab on page 85.) • Log on as Guest option: Check (enable) to have the Secure Viewer automatically log on as Guest, eliminating the need to enter a Username or Password. • Disable Commands option: Check (enable) to prevent the Secure Viewer from sending user commands back to the Server. It will only display current information from the Server. • Web button:
If you have configured a Web Tunneling Gateway to bridge your intranet to the Internet, then enter the addresses for the gateway here. The second way to change the configuration of the Secure Viewer is to manually edit the viewer.ini file with a text editor. The structure of the file is as follows:
[Options] nosplash= // Enable (0) or disable (1) the splash window noprogressbar= // Enable (0) or disable (1) the progress bar ds1= // Data Server Primary ds2= // Data Server Secondary dsp= // Data Server Port wtg1= // Web Tunneling Gateway Primary wtg2= // Web Tunneling Gateway Secondary url= // URL from project file (*.app) proxyip= // Proxy Address proxyp= // Proxy Port ceemul= // Enable (1) or disable (0) CEView emulation Example PC with IWS runtime project (has both Web Server (NTWebServer or IIS) and Data Server): • IP Address is 192.168.1.106 • Project name is SecureViewerTest • Project file is SecureViewerTest.app Secure Viewer configuration dialog:
• Data Server IP = 192.168.1.106 • TCP Port = 1234 • URL = http://192.168.1.106//SecureViewerTest.app Alternatively, you could edit the viewer.ini file: [Options] url=http://192.168.1.106//SecureViewerTest.app InduSoft Web Studio Page 385