How to setup Microsoft IIS with Board 10 Web Server (HTML 5)

Document created by ggallo Employee on Jun 29, 2017Last modified by davidegenini on Nov 5, 2019
Version 8Show Document
  • View in full screen mode

FUNCTIONALITY

Board 10 Web Server includes its own HTTP Server, but for multiple reasons, you might want to publish Board under IIS. Publishing Board under IIS may be convenient in these cases:

      
  • Need of use a certificate and publish the site through HTTPS
  •   
  • Need of publishing the same Board Engine through multiple sites with different configurations
  •   
  • Schedule regular recycles, etc.

 

HOW TO DO IT

Prerequisites

      
  1. Install Microsoft IIS Server Role
  2.   
  3. Check and enable "ASP.NET 4.5" and "WebSocket Protocol" Role services under Application Development category
  4.   
  5. If you install IIS server after .NET Framework 4, run this command according to your installation path and version:

      %windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

 

IIS Configuration

If you need to publish Board under IIS, please execute the following steps:

      
  1. Unzip and install the standard BOARD Web Server application BoardVersion_Setup_Web_HTML5_Server 
  2.   
  3. Create the Board site under IIS
       
                                                                                                                                                                                                                                                                                                   
    Action10.1.x10.3.x and later
    Create a folder under C:\inetpub\wwwroot where the application will run (e.g.: BWEB10)XX
    Create a subfolder "bin" in the folder created in the previous step. Now you should have like this: C:\inetpub\wwwroot\BWEB10\bin\XX
    Copy all the content of the Board 10 WEB Server usually located in C:\Program Files (x86)\Board\Board WebApi Server under the folder C:\inetpub\wwwroot\BWEB10\bin\XX
    Move the file web.config from C:\inetpub\wwwroot\BWEB10\bin into the parent folder C:\inetpub\wwwroot\BWEB10XX
    Move the folder App_Data from C:\inetpub\wwwroot\BWEB10\bin into the parent folder C:\inetpub\wwwroot\BWEB10X
    Move the folder Snapshotter from C:\inetpub\wwwroot\BWEB10\bin into the parent folder C:\inetpub\wwwroot\BWEB10X
    Create the new site in IIS using the folder C:\inetpub\wwwroot\BWEB10XX
  4.   
  5. According to your BOARD version, your IIS site will be configured as follows:   
                                                                               
    10.1.x10.3.x and later
  6.   
  7. Give full rights to IIS_IUSRS on the IIS site folder that you created (right-click C:\inetpub\wwwroot\BWEB10 --> Properties --> Security)
  8.   
  9. In the Application Pool of the IIS Board Website, open the Advanced Settings, and set the Load User Profile to True
       
            
  10.   
  11. If you need to use the Windows Authentication, make sure the feature is enabled in the Authentication settings of the IIS site
  12.   
  13. Uninstall the Board WebApi Engine from the Windows Programs and Features
  14.   
  15. Schedule a periodic IIS Recycle of the site (it is recommended a daily recycle): Recycling Settings for an Application Pool | Microsoft Docs 
  16.   
  17. If you have a version up to Board 10.1.x included, the installation is complete. If you have Board 10.3 or a more recent version, proceed with the review of the configuration for the Create Report from the Web at this article: Create Report - Snapshotter 
  18.   
  19. If you have a version up to Board 10.3.x, the installation is complete. If you have Board 10.5 or a more recent version, proceed with the review of the configuration for the Send To - Broadcasting from the Web at this article: How to configure the Board Mailer Service
7 people found this helpful

Attachments

    Outcomes