There's a new home for Articles. Find Articles on Our Product Support Page.
Hello everyone. I had to reinstall one of our device today. And each time i try to re-enroll it, i get message"Enrollment Failed , please retry or contact your system administrator" I checked the log, and only get this [2023-01-25 14:47:51.827] ERROR [Android RESTful Enrollment] (196): Unhandled exception on POST https://MYSERVERIP/mc/enrollments/android {"AddDeviceRuleId":null,"EnrollmentPolicyPin":null,"AddDeviceRuleTag":"33FC8A72-5987-F82A-2C1E-1C089AA74E1F","AcceptedTermsAndConditionsUrl":null,"IsDeviceGmsCertified":true,"IsOemAgent":false,"Snapshot":{"DeviceName":null,"Info":{"Uuid":"a848b49e-2ab6-419d-98e8-8e509ce15112"},"SafetyNetAttestationResponse":null,"ApiLevel":28,"OSType":800,"DeviceFirmwareVersion":null,"Ip_And_IpType":{"Ip":"MYDEVICEIP"},"ImsiNumber":"","Esn":"35239311025117","Iccid":"","PhoneNumber":"","Mac":"d04e50f8097d","SerialNumber":"35239311025117","Model":"MEMOR 10","Oem":"Datalogic","PersonalizedDeviceName":"MEMOR 10","LockScreenMessage":null,"Id":"35239311025117","BluetoothMac":"","WifiMac":"d04e50f8097d","HardwareSerial":"S21H00413","Imei":"352393110251173","SupportedApis":{"ActiveMdmIds":[1040],"RcId":"813"},"FeatureList":{"AgentFeatures":[1,2,3,4]}},"IsDuasSupported":false}System.IndexOutOfRangeException: AndroidEnrollmentPolicyKindId à System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) à System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) à System.Data.SqlClient.SqlDataReader.get_Item(String name) à Soti.Data.SqlClient.TransformingDataReader.get_Item(String name) à Soti.MobiControl.EnrollmentPolicy.Android.Implementation.Providers.Implementation.AndroidEnrollmentPolicyProvider.AndroidEnrollmentPolicyToRecord(IDataRecord record) à Soti.Data.SqlClient.Command.<>c__DisplayClass19_0`1.<ExecuteRecord>b__0(IDataReader reader) à Soti.Data.SqlClient.Command.<>c__DisplayClass26_0`1.<ExecuteReader>b__0(SqlCommand sqlCommand) à Soti.Data.SqlClient.Command.Execute[T](Func`2 handler) à Soti.MobiControl.EnrollmentPolicy.Android.Implementation.AndroidEnrollmentPolicyService.GetAndroidEnrollmentPolicy(Int32 androidEnrollmentPolicyId) à Soti.MobiControl.EnrollmentPolicy.Android.Implementation.AndroidEnrollmentPolicyCacheService.GetAndroidEnrollmentPolicy(Int32 androidEnrollmentPolicyId) à Soti.MobiControl.DeviceEnrollment.Android.Implementation.EnrollmentManagementService.GetEnrollmentPolicyInfo(AndroidDeviceSnapshot deviceSnapshot) à Soti.MobiControl.DeviceEnrollment.Android.Implementation.EnrollmentManagementService.Enroll(AndroidDeviceSnapshot deviceSnapshot) à Soti.MobiControl.DeviceEnrollment.Android.Web.Implementation.AndroidAgentEnrollmentController.Enroll(EnrollmentRequest enrollmentRequest) à lambda_method(Closure , Object , Object[] ) à System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters) à System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points
Highly experienced members with valuable inputs. Should have more than 700 points
Beginners taking the initiative. Should have more than 500 points