Follow this procedure to enable and disable tracing.
To enable tracing and send the resulting trace log to Deltek:
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 the Cobra.WebService.Host.exe.config file. You will need this in step 11.
Open the Cobra.WebService.Host.exe.config file 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 a Deltek Customer Success analyst.
To disable after sending the resulting trace log to Deltek:
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 do not have the original copy, perform the following steps:
a. Open the Cobra.WebService.Host.exe.config file 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.