The request failed with HTTP status 404: Not Found

Product:
Cognos Controller 10.3
Microsoft Windows 2012 server

Problem:
At start of cognos controller client, from a new installation, you get a error message.

Error message:
An error occurred while trying to access the server.
http://localhost/ibmcognos/controllerserver

The request failed with HTTP status 404: Not Found.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Cognos.Controller.ControllerSoapHttpClientProtocol.Invoke(String methodname, Object[] parameters)
at Cognos.Controller.Proxy.Light.WSLight.CheckServerConnection(String sGuid, String sUser)
at Cognos.Controller.Direct.ServerInfoD.CheckServerConnection()
at CCR.AppContext.CheckConnectionToServer()

Solution:
The app folder in IIS for controllerserver was misspelled, recreate the application controllerserver in IIS manager.