Encryption Process - Intergraph Smart Materials - Version 2017 R1 (2.1) - Installation & Upgrade - Hexagon PPM

Intergraph Smart Materials Web API Installation 2017 R1 (2.1)

English (United States)
Intergraph Smart Materials
Search by Category
Installation & Upgrade

This process encrypts the connection strings in the web.config file of the hosted application.

  1. In the Search, type cmd. Right click Command prompt, and then select Run as Administrator.

  2. Click Yes, and then type the following path: %windir%\Microsoft.NET\Framework\v4.0.30319\

  3. To encrypt the connection strings, type the command: aspnet_regiis -pef "connectionStrings" "C:\Program Files\INTERGRAPH\SPMAT API" where:

    • pef is the keyword to encrypt the connection string

    • The second argument "connectionStrings" indicates that the name of the configuration section should be encrypted.

    • The third argument is the physical path of the folder, where the web.config file is located.

Section is encrypted in the web.config file.