Symptom
During enrollment with a relay server, enrollment fails even though each RSOE (relay sever outbound enabler) has successfully connected to the relay server.
Looking at the following, we have:
1) On an iOS device:
- “Your enrollment code is incorrect.”
2) On an Android device:
- "Enrollment failed"
3) In the iPhone Configuration Utility (ipcu) log:
- Sep 20 17:19:19 Device-iPhone Afaria[123] <Warning>: connection:didReceiveResponse: http 404
Sep 20 17:19:19 Device-iPhone Afaria[123] <Warning>: httpResponse.didReceiveData Data <3c68746d 6c3e0d0a 20202020 3c686561 643e0d0a 20202020 20202020 3c746974 6c653e54 68652072 65736f75 72636520 63616e6e 6f742062 6520666f 756e642e>
Sep 20 17:19:19 Device-iPhone Afaria[123] <Warning>: [AfariaAppDelegate netUser:0x80 busy:0]
Sep 20 17:19:19 Device-iPhone Afaria[123] <Warning>: [AipsController enrollmentCodeSeedDidLoadWith:]
Sep 20 17:19:19 Device-iPhone Afaria[123] <Warning>: AipsController enrollmentCodeSeedDataDidLoadWith [1612] and http:404
Sep 20 17:19:19 Device-iPhone Afaria[123] <Warning>: <html>
<head>
<title>The resource cannot be found.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/ias_relay_server' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>The resource cannot be found.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
<br><br>
<b> Requested URL: </b>/ias_relay_server/client/rs_client.dll/<farmID>/aips/aipService.svc/GetEnrollmentSeedData<br><br>
</body>
</html>
http: 404
Sep 20 17:19:19 Device-iPhone Afaria[123] <Warning>: enrollmentFinishedWithFailure
4) Browsing to the aips help page:
- http://<RelayServerAddress>/<RelayServerWebsite>/client/rs_client.dll/<FarmID>/aips/aipService.svc/help
5) In the IIS logs on the relay server:
- GET /ias_relay_server/client/rs_client.dll/<farmID>/aips/aipService.svc/help - <port> - <ip address> Mozilla/5.0+(Windows+NT+6.1;+WOW64)+/537.36+(KHTML,+like+Gecko)+Chrome//537.36 404 0 087
- GET /ias_relay_server/client/rs_client.dll/<farmID> /aips/aipService.svc/GetEnrollmentSeedData ID=%7Be6e0a6f0-80a7----ff3b%7D&ClientType=-8 <port> - <ip address> Afaria+iPhone+Client 404 0 0 203
6) In the Windows Event View Application logs:
- WebHost failed to process a request.
Sender Information: System.ServiceModel.Activation.HostedHttpRequestAsyncResult/34678979
Exception: System.Web.HttpException: The service '/ias_relay_server/client/rs_client.dll/<farmID>/aips/aipService.svc' does not exist. ---> System.ServiceModel.EndpointNotFoundException: The service '/ias_relay_serverclient/rs_client.dll/<farmID>/aips/aipService.svc' does not exist.
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()
--- End of inner exception stack trace ---
at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
Process Name: w3wp
Process ID: 3524
Read more...
Environment
- SAP Afaria 7.0
- Relay Server
- Afaria iPhone Server (aips)
- Internet Information Services
- iOS
- Android
- Windows Process Activation Services
- Windows Communication Foundation Activation
Product
SAP Afaria 6.6 ; SAP Afaria 7.0 ; SAP Mobile Platform 2.3 ; SAP Mobile Platform 3.0 ; Sybase Unwired Platform 1.5.2 ; Sybase Unwired Platform 1.5.5 ; Sybase Unwired Platform 2.0 ; Sybase Unwired Platform 2.1 ; Sybase Unwired Platform 2.2
Keywords
SAP Mobile Platform, Afaria, SUP, Sybase Unwired Platform , KBA , enrollment , MOB-AFA , Afaria , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.