Create pool and application in IIS - Intergraph Smart Engineering Manager - 7.0 - Installation & Upgrade - Hexagon

Intergraph Smart Engineering Manager Web API Installation and Configuration

ft:locale
en-US
Product
Intergraph Smart Engineering Manager
Subproduct
Web API
Search by Category
Installation & Upgrade
Smart Engineering Manager Web Version
7.0

Using PowerShell

To configure IIS, you must run IISConfiguration.ps1 in PowerShell using parameters shown in the example scripts below. Run the appropriate script according to whether you want to use default or custom parameters.

  • Open PowerShell in Administration mode.

  • Replace the values in italics with your own values.

  • The script creates one application pool and one application.

Script with default parameters

powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_WebAPI" -username "MyDomain\DomainUser" -password "MyPassword123" -Verbose

Script with custom parameters

powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_WebAPI" -username "MyDomain\DomainUser" -password "MyPassword123" -webApiAppPool "MySEMWebAPIAppPool" -webApiAppName "Mywebapi7.0" -enable32BitAppOnWin64 True -Verbose

Parameter

Description

webApiAppPool

Web API application pool name. The default value is "SEMWebAPIAppPool".

webApiAppName

Web API application name. The default value is "webapi7.0".

username

Username of the registered admin user for logging into the authentication server. This user must be in the System Administrators group in SAM.

password

Password of the registered admin user.

enable32BitAppOnWin64

Set this to True to enable 32-bit on a 64-bit system. By default, it is set to False.

Using IIS Manager

Create the application pool

  1. Open Internet Information Services (IIS) Manager.

  2. In the Connections pane, select Application Pools.

  3. In the Actions pane, select Add Application Pool.

  4. Enter a name for the pool. For example, SEMWebAPIAppPool.

  5. For .NET CLR version, select No Managed Code.

  6. For Managed Pipeline Mode, select Integrated.

  7. Select OK to create the pool.

  8. In the Actions pane > Edit Application Pool, select Advanced Settings.

  9. In the Advanced Settings dialog, set the Start Mode to AlwaysRunning.

  10. In the Process Model section, select Identity and then select the ellipsis button .

  11. In the Application Pool Identity dialog, select Custom account and then select Set.

  12. In the Set Credentials dialog, enter the credentials of the registered admin user.

  13. Keep selecting OK until you close the Advanced Settings dialog.

Create the application

  1. In the Connections pane > Sites, right-click Default Web Site and select Add Application.

  2. In the Alias field, enter a name for the application. For example, webapi7.0.

  3. For Application Pool, select the pool that you previously created.

  4. For Physical Path, browse to the gRpcClient folder. For example, C:Program Files (x86)\Smart\Engineering Manager\7.0\gRpcClient

  5. For Pass-through authentication, select Connect as.

  6. In the Connect As dialog, select Specific user and then select Set.

  7. Enter the credentials of the registered admin user.

  8. Keep selecting OK until you close the Add Application dialog.