The Controller FAP service does not publish and show that it cannot login to the TM1 cube

Symptom:
The Controller FAP service does not publish and show that it cannot login to the TM1 cube.

Error Message:
Could not login to TM1, host: srv001, server name: tm1fap, user name: LAN\cognosservice
Could not logon with to CAM with user : cognosservice to clientCAMURI http://srv001/cognos8/cgi-bin/cognosisapi.dll

Cause:
The CAM url in the FAPservice.properties file is wrong, so the FAP service can not authenticate with the Cognos BI to access the TM1 cube.

Solution:
Stop the publish in the FAP service manager.
Stop the FAP service.
Open FAPservice.properties file in notepad
Change the Clientcamuri from

http://srv001/cognos8/cgi-bin/cognosisapi.dll

to

http://srv001/ibmcognos/cgi-bin/cognosisapi.dll

Save the file.
Start the FAP service.
Start the Data source in the FAP service manager
Start the Data Mart
Click in Update automatically in the Logs tab
Check that the Financial Analytics Publisher works now.