Skip to main content
Planview Customer Success Center

API: The type 'Changepoint.CPWebService.WCF.WSLogin' could not be found (2012)

SYMPTOMS
We are accessing our API like

https://XXX/CP Web Services/WSLogin.svc

When doing so, we get an error message.

ERROR
The type 'Changepoint.CPWebService.WCF.WSLogin', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.


REASON
In the URL the directory name of the API "CP Web Services" is specified, rather than a virtual directory/application.

RESOLUTION
An application called "CPWebService" needs to be defined on the "CP Web Services" directory, then call the API as

https://XXX/CPWebService/WSLogin.svc