Deltek provides two ways to capture exception details:
If you receive an error as part of a change request or accessing the Cobra Web Service but no process log is created, there may have been a problem connecting to or executing the Cobra Web Service. Stop and restart the Cobra Web Service and then log into PM Compass and use System Settings » Verify Components to confirm that the Cobra Web Service is operating correctly. If this did not solve the problem, you can enable the CobraTraces.svclog to capture exception details.
To turn on tracing and send the resulting trace log to Deltek Customer Care:
On the PM Compass Application Server, open Windows Services and look for the Cobra Web Services service.
Stop the service.
Note the location of the executable under "path to executable" and open that directory in Windows Explorer.
Create a copy of Cobra.WebService.Host.exe.config. You will need this in step 11.
Open Cobra.WebService.Host.exe.config using Notepad.
Place your cursor at the end of the very first line (which is <configuration>) and press Enter to create a new line.
Paste the lines below into the file and save the file. Make sure that the referenced directory in the text (highlighted below) exists on the server.
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="E:\temp\CobraTraces.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
Start Cobra Web Services.
Reproduce the error.
Stop Cobra Web Services.
Replace the edited Cobra.WebService.Host.exe.config file with the copied file from step.
Start Cobra Web Services again.
Retrieve the CobraTraces.svclog file from the location in the above pasted text (step 7) and send it to Deltek Customer Care.
To turn off tracing after sending the resulting trace log to Deltek Customer Care:
On the PM Compass Application Server, open Windows Services and look for the Cobra Web Services service.
Stop the service.
Note the location of the Executable under "path to executable" and open that directory in Windows Explorer.
Replace the edited Cobra.WebService.Host.exe.config file with the copied version of the original.
If you don't have the original copy, perform the following steps:
a. Open Cobra.WebService.Host.exe.config using Notepad.
b. Look for the entries that are the same as the text below (they should be at the beginning of the file).
c. Place your cursor at the start of the line beginning with the first line below and select the contents that is the same as the lines below:
<system.diagnostics>
<sources>
<source name="System.ServiceModel"
switchValue="Information, ActivityTracing"
propagateActivity="true">
<listeners>
<add name="traceListener"
type="System.Diagnostics.XmlWriterTraceListener"
initializeData="E:\temp\CobraTraces.svclog" />
</listeners>
</source>
</sources>
</system.diagnostics>
d. Delete the selection.
e. Save the file.
Start Cobra Web Services.
For more information, see the Microsoft article titled, Configuring Tracing.
For troubleshooting integration, Deltek has provided the capability to enable a trace flag to capture exception details. You can use this to troubleshoot a Web Services crash, verify Cobra Web Services components (using the PM Compass Verify Components feature), and to trace certain SQL calls.
You can use this to troubleshoot a Web Services crash, verify Cobra Web Services components (using the PM Compass Verify Components feature), and to trace certain SQL calls.
To view the current trace location and correct it if needed:
Stop the Cobra Web Service in Windows Services (Control Panel » Administrative Tools » Services).
Navigate to the CobraEngine folder located in the Deltek PM Compass installation folder.
Make a backup of the IdeaBlade.ibconfig file (save it to a different folder).
Launch Notepad as an Administrator.
Using Notepad, navigate to the IdeaBlade.ibconfig.file and open it.
In the <logging> section, delete the two <namespaceRejectFilter> lines.
In the <logFile> section, enter “C:\<local server folder>\DebugLog.xml.” For example: <logFile>C:\temp\DebugLog.xml</logFile>.
Save and close the file.
Restart Cobra Web Service.
After recreating the issue, send the file to Deltek Support and restore the original file.