Page Tree
Other Releases
When installing FactoryStudio, if IIS was previously installed, you will not be able to install our embedded web server (TWebServer.exe).
The FactoryStudio software will run without the web server, except by remotely accessing project configurations and serving runtime web pages; all other FactoryStudio engineering and runtime tools run without needing to install the TWebServer or to do any IIS configuration.
If you want to enable remote engineering access and the web clients using IIS, you need to install some FactoryStudio services in IIS or enabled the TWebServer embedded web server. Another scenario where IIS is necessary is when you want to run the RUNTIME as a Windows Service, and also to provide remote access to project web pages, iPad displays and project engineering.
In order to enable the TWebServer stop the IIS server or other applications potentially using port 80 and run the product installation. In order to setup the IIS server, follow the procedure in this chapter.
This section is the explanation of how to install those services in IIS. The explanation targets IIS 7.x and 8, but other versions should be similar.
You are going to install three services inside IIS:
When you are finished developing and testing your project, you can deploy the runtime application for use by end-user clients. Projects can be deployed to run locally on a stand-alone computer or embedded device, as well as in a client-server distributed architecture or on the cloud. This chapter discusses the various methods for deploying these applications.
In this section... |
---|
|
On this page: |
---|
If IIS was installed after the installation of the .NET Framework it is necessary to run and verify a procedure as described on http://msdn.microsoft.com/en-us/library/ms752252.aspx which is to run the following programs using the command prompt as Administrator:
aspnet_regiis.exe -I -enable
ServiceModelReg.exe -r
3. From the IIS Manager, verify that the extension .svc is mapped to aspnet_isapi.dll.
4. From the FactoryStudio installation folder, run the utility: InstallTWebServer.exe /uninstall, which will remove the default TWebServer installation.
5. From IIS Manager, go to Sites > Default Web Site > Add Application and configure the information for the services as described in following steps
6. For TProjectServer, configure:
7. For TVisualizerWeb/TVisualizerRemote, configure:
8. For iDataPanel Service, configure:
9. For DataPanelImages (Virtual Directory), configure:
10. Enable Anonymous Authentication for each of the services.
11. Setup the Compression module. If it is not installed, you will see the alert boxes.
12. Create a new MIME Type for the .tzip extension
If it's not installed, go to the Server Manager, Roles, Web Server. Under Role Services, check your installed Roles. If Dynamic Compression isn't installed, click Add Roles and install it.
You can go back to compression for your site and ensure Dynamic Compression is checked. At this point, Dynamic Compression should be setup, but you really need to be specific about what mimeTypes will be compressed.
From the dropdown, select system.webServer/ webdev / httpCompression:
Then click on Dynamic Types and now that you're in the list editor. Add application/json as seen below.
After you've added them and closed the dialog.
12. If your remote users cannot access the FactoryStudio, you should allow Everyone access to the FactoryStudio folder, at least for reading. Right-click the folder, click the Security tab, click Edit, then add read permissions for Everyone.
IIS must be restarted after configuring the services.