Modify the Web Configuration - Intergraph Smart Reference Data - Installation & Upgrade - Hexagon

Intergraph Smart Reference Data Installation (10.1)

Intergraph Smart Reference Data
Search by Category
Installation & Upgrade
Smart Materials/Smart Reference Data Version

The web.config file contains some application settings that administrators can set. This file is located in the server installation directory (<SRD10.1_Installation_Folder>\web\SRDService\).

Here is some sample code from the web.config file:


<add key="SecurityToken" value="ABC123"/>

<add key="DatabaseDefault" value="md"/>

<add key="ForceUseOfDatabaseDefault" value="N"/>

<add key="CultureInfoIdentifier" value="en-US"/>

<add key="MLoginPassword" value="m_login"/>

<add key="SRDHelpUrl" value=""/>


Database Default

You must modify the DatabaseDefault key to use the tnsname of your database. Look for this line:

<add key="DatabaseDefault" value="spmat8"/>

If necessary, change "spmat8" to your tns alias name.

<add key="DatabaseDefault" value="tnsaliasname"/>

The tnsname value affects the connection of the clients and is specified in both the web.config file and in the client software on the Login Parameters dialog box. For more information, see the Smart Reference Data User's Guide.

Force Database Default

In order to make sure your users are working in the proper database, you can set the ForceDatabaseDefault key. Look for this line:

<add key="ForceUseOfDatabaseDefault" value="N"/>

If you set this key to Y, the software ignores the login parameters on each client, using the database default instead.

If you set this key to N, the software uses the login parameters on the client.


You can add the SRD Help URL in the web.config file in order to open the SRD help. URL in the web.configuration can be edited.

<add key= "SRDHelpUrl" value= "fluid topic URL"/>

The Service URL and Help URL which you are using must be same as the URLs available in the configuration file. To update the configuration file, exit the application and re-login.

Login Password

To change the m_login default password, set the MLoginPassword key. Look for the following line:

<add key="MLoginPassword" value="m_login"/>

Server Request Limits

To restrict the maximum size of a request to the IIS, you must add the following lines to your web.config:




<requestLimits maxAllowedContentLength="1073741824" />




The value (in bytes) assigned to the requestLimits maxAllowedContentLength parameter in the example above restricts the size to 1 GB. You can assign any value between 1 and 4,294,967,295.