The following troubleshooting topics are included on this page:
The Cobra Web Service will fail if:
It is not running.
The Cobra Web Service URL is incorrect.
It is unable to connect to the DSN.
Check whether the Cobra Web Service is running. If it is not, start the service and see if that resolves the issue. If it does not solve the problem, check the following:
Review the Cobra Web Services settings.
Confirm that the DSN setting is configured correctly.
Confirm that the Cobra database username is all in uppercase.
Log into Web Link. On the General tab, verify that the entry in the Database Username field is all in uppercase characters.
The call to web service returns the following framework exception:
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
There are not enough details to discern the error.
To turn on tracing and send the resulting trace log to a Deltek Support Services analyst:
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.
Open the Cobra.WebService.Host.exe.config fileusing 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 the Cobra Web Service.
Reproduce the error.
Stop the Cobra Web Service.
Replace the edited Cobra.WebService.Host.exe.config file with the copied file from step 4.
Start the Cobra Web Service again.
Retrieve the CobraTraces.svclog file from the location in the above pasted text (step 7) and send it to a Deltek Support Services analyst.
To turn off tracing after sending the resulting trace log to a Deltek Customer Success analyst:
On the PM Compass Application Server, open Windows Services and look for the Cobra Web Service 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 the Cobra Web Service.