Web Client Login Error

After entering your credentials at the login page, you get the following error:

A problem occurred creating a session.

Please try again later or contact your administrator.

Correlation ID: 862551ed-6138-42ed-a6d1-a4680f748efa (the correlationID will change)

Furthermore upon examining the Dynamics Applications and Services Log on the Web Client server you will see the following error: An error occurred while creating a session.

Exception Details: System.ComponentModel.Win32Exception (0x800004005): The service cannot be started either because it is disabled or because it has no enabled devices associated with it.

One possible cause for this error is two windows services may not be started or may be disabled.

On the Web Client Server check the following windows services:

Verify the Application Information service is running and the Startup type is set to Manual (Trigger Start)

also verify the Secondary Logon service is running and the Startup Type is set to Automatic.