Advanced Configuration Settings in the web.config File

You can add configuration settings to the <appSettings> section of the web.config file to customize the PM Compass application.

The web.config file is in the following directory: <PM Compass installation location>\web.

All configuration settings must reside within this section of the web.config file:

<?xml version="1.0" encoding="utf-8"?>

<configuration>

    <appSettings>

        <! -- Your configuration settings go here -->

    </appSettings>

</configuration>

Some of the settings in this file are required and should not be altered.

The table below provides a list of configuration settings that you can add to the web.config file, along with their descriptions and syntax.

Setting and Description

Syntax

LookupSelectAllVisible

Use this setting to hide the Select All button from Lookup dialog boxes. This setting is designed to prevent users from accidentally clicking the button when dealing with thousands of records.

  • If LookupSelectAllVisible is Y, the Select All button is displayed in PM Compass.

  • If LookupSelectAllVisible is N, the Select All button is not displayed in PM Compass.

<add key="LookupSelectAllVisible" value="Y" />

or

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

DisableWorkflowGroupings

Use this setting to hide the All Workflows option in the navigation menu. This setting is designed to prevent users from accidentally clicking the option when dealing with thousands of records in the Workflow List view.

  • If DisableWorkflowGroupings is Y, the All Workflows option is displayed in PM Compass.

  • If DisableWorkflowGroupings is N, the All Workflows option is not displayed in PM Compass.

<add key="DisableWorkflowGroupings" value="Y" />

or

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

  

ConnectStrByUser

Use this setting to instruct PM Compass to append the logged-in user’s name to the Application Name section in the connection string when connecting to the Project Portfolio Management (PPM) database.

  • If ConnectStrByUser is Y, PM Compass appends the logged-in user’s name to the connection string.

  • If ConnectStrByUser is N, PM Compass does not append the logged-in user’s name to the connection string.

 <add key="ConnectStrByUser" value="Y" />

or

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

    

NonceKeyTimeout

Use this setting to ensure that the one-time nonce key generated by PM Compass upon user login expires after data is sent to the server, preventing another user from reusing the same login. The value you specify is in seconds, and the default is 10. Setting it to 0 will disable the time-out.

<add key="NonceKeyTimeout" value="5" />

    

EncryptRequests

Use this setting to instruct PM Compass to utilize the encryption mechanism in all client-server transmissions.

  • If EncryptRequests is Y, PM Compass utilizes the encryption mechanism.

  • If EncryptRequests is N, PM Compass does not utilize the encryption mechanism.

 <add key="EncryptRequests" value="Y" />

or

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

    

EnableHMAC

Use this setting to pass a hash key-based message authentication code (HMAC) to the web server, ensuring that requests sent by the client have not been modified and mitigating potential information calls.

  • If EnableHMAC is Y, PM Compass utilizes the HMAC technique.

  • If EnableHMAC is N, PM Compass does not utilize the HMAC technique.

<add key="EnableHMAC" value="Y" />

or

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

   

X-Powered-By

This setting refers to a response header that describes the technologies used by the web server. Add this setting to the web.config file to hide the technology information.

<system.webServer>

    <httpProtocol>

        <customHeaders>

            <remove name="X-Powered-By" />

        </customHeaders>

    </httpProtocol>

</system.webServer>  

PerfLogFilePath

Use this setting to append performance logs to a singe file.

For more information, see Enable Performance Logging.

<add key="PerfLogFilePath" value="C:\metric\pmc_perf_server.log" />

EnableMethodcallLogging

Use this setting to capture method call logs generated for each server request initiated by the client.

  • If EnableMethodcallLogging is Y, PM Compass captures method call logs.

  • If EnableMethodcallLogging is N, PM Compass does not capture method call logs.

For more information, see Enable Method Call Logging.

<add key="EnableMethodcallLogging" value="<Y>" />

or

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

SQLLogDirectory

Use this setting to specify the path where the SQL logs will be stored.

For more information, see Enable SQL Logging.

<add key="SQLLogDirectory" value="C:\metric" />

SQLLogging

Use this setting to define SQL logging.

  • If SQLLogging is Y, PM Compass captures SQL logs.

  • If SQLLogging is N, PM Compass does not capture SQL logs.

For more information, see Enable SQL Logging.

<add key="SQLLogging" value="<Y>" />

or

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


Learn more about...