Symptom
Attempting to create a new iOS enrollment policy results in the Afaria Administrator crashing with the following message:
Error accessing Afaria Administrator
An error has occurred.
Server Error in '/Afaria' Application.
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ServiceModel.FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[FaultException: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.]
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14489026
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +622
AfariaServiceRef.Policy.IPolicyService.CreatePolicy(PolicyType policyType, PolicySubtype policySubtype, SupportedClients supportClients) +0
Afaria.Admin.UserControls.Policy.InspectorViewControl.CreatePolicy(PolicyType policyType, PolicySubtype policySubType, SupportedClients supportedClients, String clientSubType) +438
Afaria.Admin.Pages.PolicyPage.CreateNewPolicy(PolicyType policyType, PolicySubtype policySubType, SupportedClients supportedClients, String clientSubType) +392
Afaria.Admin.UserControls.Policy.PolicyGridToolbar.PolicyEditorRadContextMenu_ItemClick(Object sender, RadMenuEventArgs e) +492
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
Read more...
Environment
SAP Afaria 7
Product
Keywords
trap exception crash ios iphone ipad address , KBA , 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.