Web services error User Not Authenticated 

Document ID : KB000113145
Last Modified Date : 05/09/2018
Show Technical Document Details
Question:
I am trying to connect to Web Services. I am getting an error:

Server Error in '/APIService' Application. 
User Not Authenticated 
Answer:
Go to C:\Program Files (x86)\CA\ITAM\WCF Service\bin.
Right click on the file CA.Applications.Web.WCF.dll.
Go to Properties.
Click the Details tab and note the Product Version.

Go to C:\Program Files (x86)\CA\ITAM\WCF Service.
Edit the web.config file.
Search for the line:
<add name="ITAMServiceBehavior" type="CA.Applications.Web.WCF.Behaviour.ITAMBehaviorElement, CA.Applications.Web.WCF, Version=17.0.0.114, Culture=neutral, PublicKeyToken=null"/>

Change the version to match the file properties.
Save the web.config file and retest.