Data Access Tab of the Application Preferences Dialog Box

Use this tab to set certain application data access level options in Cobra.

If you use PM Compass, you must stop and restart all Web services.

Contents

Field Description
Use incremental deletion when deleting a project

When Cobra deletes a project it issues a single delete transaction for each table that contains the project’s data. For tables that contain a lot of data (such as the time-phase table) a single delete transaction can result in a transaction that is too large for the database’s rollback logs to accommodate.

This option instructs Cobra to use an incremental delete of project data, whereby Cobra will delete one control account’s worth of data at a time, resulting in multiple delete statements.

Using this option reduces the size of each delete transaction at the cost of increasing the time it takes to delete a project.

Debug Log

Use this group box to control the creation and contents of Cobra’s debug logs.

  • Generate processlog.xml — Select this check box to send debug information to the Processlog.xml file when you run a process. Selecting this check box enables the Include SQL Statements and Include Cobra data check boxes.
    • Include SQL Statements — Select this check box to log the SQL statements to a table in the database. The SQL calls are logged in the Processlog.xml file, which is located on the application server if you have an n-tier installation setup and on the client server for other types of installation setup.
      • If you have an n-tier installation setup and running the BOS Service as the local system account, the Processlog.xml file is stored in C:\Deltek\Cobra\Logs.
      • If the BOS Service is running under your account, the file is stored in the My Documents\Deltek\Cobra\Logs folder.

      In a standalone or client/server installation, the file is created in the folder My Documents\Deltek\Cobra\Logs. In an n-tier installation, the file is created in the My Documents\Deltek\Cobra\Logs folder of the user ID used to start the service.

    • Include Cobra data — Select this check box if you want the raw data generated by processes to be included in the log.
  • Clientdebuglog.xml — Select the Include SQL Statements check box to log the SQL statements used by Cobra to the ClientDebugLog.xml file for stand-alone setup or to the ServerDebugLog.xml file for n-tier setup. This includes the queries for the summary time-phased data.
    Note: Selecting this option will cause most of the SQL queries used by Cobra to be logged to the ClientDebugLog.xml or to the ServerDebugLog.xml file. This will potentially affect the application’s performance. Clear this option if not needed.
Process Log

Use this group box to configure Cobra to store process log messages to a text file.

  • Write process logs to a text file — Select this check box to store process log information to a text file in a local folder instead of the database. All Cobra processes will store the process log files to the specified location. Selecting this check box enables the Location field.
  • Location — Enter a valid directory or click to navigate to the directory where you want to store the process log files.
    Note: You can enable logging of process log messages to a text file only when running in a standalone or client/server deployment.
Data Locking

Use this group box to define how Cobra locks data while a global process is running.

  • Project lock setting — Select one of the following options from the drop-down list:
    • Process — Select this option to lock the entire project while a global process is running. Deltek recommends this option when there is one Cobra user who accesses a project.
    • Control Account — Select this option to lock only one control account at a time while a global process is running. This allows you to work in the project while the global process is running, but it locks each control account during the process.
  • Interval to wait before retrying project lock — Select or enter the number of seconds Cobra should wait before retrying to obtain a lock on a project or file that a process needs.
  • Maximum number of retries to open a busy file — Select or enter the number of times Cobra should retry to open a busy file. This setting is used only if the file is being used by someone else or an error occurs in the file.
    Note: You must not enter zero or negative numbers in this field.