When attempting to enroll an iOS device through the Relay Server, the error "The resource cannot be found" occurs with a status code of 404.
You are able to access the following address successfully (which returns a blank page):
http://<RelayServerIP>/ias_relay_server/client/rs_client.dll/<EnrollmentServerFarmID>/aips
You can also successfully access the default IIS "Service Help Page" directly from the Enrollment Server using the following address:
http://localhost/aips/aipService.svc/help
However, attempting to access either of the following addresses generates the same 404 error seen on the device:
http://<RelayServerIP>/ias_relay_server/client/rs_client.dll/<EnrollmentServerFarmID>/aips/aipService.svc/help
http://<RelayServerIP>/ias_relay_server/client/rs_client.dll/<EnrollmentServerFarmID>/aipsr/login.aspx
Reproducing the Issue
One or both of the following scenarios exist:
Scenario 1:
Check from the Windows Server Manager on the Relay Server under the Features page to see if either the "WCF Activation" sub-feature under the .NET 3.5.1 Framework feature and/or the Windows Process Activation Service feature have been installed. If either exist, remove them from the server and reboot.
Note that WCF Activation is required on the Enrollment Server machine. Only remove it from the Relay Server machine to correct this issue.
Scenario 2: