Configure web.config - Intergraph Smart Materials - Version 2017 R2 (2.2) - Installation & Upgrade - Hexagon

Intergraph Smart Materials Web API Installation 2017 R2 (2.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Web API
Search by Category
Installation & Upgrade
Version Smart Materials Web API
2017 R2 (2.2)
  1. Navigate to the folder: <installed path>\Web\API\webConfig.

  2. In connectionStrings, Data Source should be pointed to the required database alias (TNS) for connection strings; 'SmatSiteDataContext'.

  3. Update the service baseUri (https://{{hostname}}/{{applicationname}}/) value generated by the config tool.

  4. To enable and access the Open API client (Smart API Explorer), you must register a Smart Client (specifying the implicit flow) with SAM. And, then add the Post-Login URI (http(s)://{{hostname}}/{{applicationname}}/SMAT/V1>/doc/explorer/oauth2-redirect.html) in the Smart Client. Also, update this client id in the web config file in the documentation node.

  5. If the Oracle client version is above 18.3, then uncomment the following assemblies in assemblyBinding tag and replace the newVersion value with the actual assembly version.

    • Oracle.DataAccess

    • Oracle.DataAccess.EntityFramework.

    SHARED Tip To check the version number of these assemblies, navigate to the following paths:

    • C:\Windows\Microsoft.NET\assembly\GAC_64\Oracle.DataAccess

    • C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Oracle.DataAccess.EntityFramework.