Receive error: "Profile Failed to Install. The profile "Config Payload" could not be installed" or Enrollment failed message received on the iOS devices when attempting to enroll iOS devices.

Document ID : KB000019533
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

SYMPTOM:

Receive error: Profile Failed to Install. The profile Config Payload could not be installed. This occurs when trying to provision an iOS device.
or Enrollment failed message received on the iOS devices when attempting to enroll iOS devices.
Below errors were logged in iPCU log.
Warning>: connection:didReceiveResponse: http 405
Warning>: HomeViewController enrollmentRecordRequiredDataPutEndedWith [1293] and http:405

Solution:

CAUSE:

The Windows Server 2008 Web Server WebDAV Publishing (Web-Distribution Authoring Versioning) Role Service is installed on the iOS Provisioning Server, the Relay Server or both.

The following errors will be displayed in the Apple iPhone Configuration Utility via USB device connection when trying to provision the device:

Desc: A transaction with the server at http://<address>/aips2/aipService.svc/TokenCheckin has failed with the status 405. US
Desc: A transaction with the server at http://<address>/aips2/aipService.svc/TokenCheckin has failed with the status 405.
Domain: MCHTTPTransactionErrorDomain
Code: 23001 Type: MCFatalError Params : ( http://<address>/aips2/aipService.svc/TokenCheckin , 405)

SOLUTION:

To determine if the WebDAV Publishing Role Server is installed, do the following:
Open Server Manager on the Provisioning Server.
Select Roles.
In the Roles window, select the Web Server (IIS) Role in the Roles Summary section.
Scroll down to the Role Services section.
Under the Web Server branch, verify that WebDAV Publishing is installed.
Select the Remove Role Services link and uninstall the WebDAV Publishing role service.