Deploying as a Web Application Step 3: Enable the TCP/IP task 1. On the Home tab of the ribbon, click Tasks (local or remote, depending on the project's target system). 2. Be sure the TCP/IP Server is set to Automatic. This should be the default state, but can be manually configured by selecting the Startup button. 3. Be sure the TCP Port number is properly set (see Communication Settings above), otherwise the TCP/ IP Server will start then stop. Note: • This configuration information (from Step 1 & 2) gets embedded in the Web Pages generated from the IWS development environment when you Save As HTML . • If you change any of these settings, you MUST run the Verify Project tool.
Using the SetWebConfig Function The SetWebConfig() built-in function allows the developer to programmatically configure the Data Server and Web Client configuration, and the resulting configuration settings are automatically updated in your project's HTML files (located in the Web sub-folder). This function always runs on the IWS Server, and works in both a Windows and Windows Embedded environment. For more information, see SetWebConfig() function . Configuring the Web Server to Support IE and Secure Viewer IWS is capable of supporting both Interned Explorer (IE)-based browsers and Secure Viewer-based browser at the same time.
To do this however, you need to take some care in how you configure your system. From the Web-server side • All HTML files go into the project Web sub-folder. • Configure your Web Server (e.g., IIS) to have its root folder point to the project folder. • Put ISSymbolVM.cab in the project folder if an Internet connection to InduSoft's Web site is not available and the ISSymbol ActiveX control is not installed on the IE-based Web Client. From the Web-Client side • The Secure Viewer-based browser should be configured to point to the .APP file in the project folder • The IE-based browser should have as an initial URL something like as follows:
http://192.168.1.100/Web/startup.html …where startup.html is your startup web page. InduSoft Web Studio Page 379