I have tried to create a mobile form on a number of custom entities. Each time I get an error window like this:
Full Stack:
[InvalidOperationException: Sequence contains no elements]
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Microsoft.Crm.Utility.FormEditorUtility.GetFirstFormHavingLeastOrder(Int32 type, Int32 objectTypeCode)
at Microsoft.Crm.Mobile.Application.Pages.ConsoleEntityConfig.get_MobileFormEntity()
at Microsoft.Crm.Mobile.Application.Pages.ConsoleEntityConfig.PopulateAttributeFields()
at Microsoft.Crm.Mobile.Application.Pages.ConsoleEntityConfig.ConfigurePage()
at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Other Message:
Error Number:
Source File:
Not available
Line Number:
Not available
Error Trace:
Date: 02-06-2012
Time: 16:23:12
Server: crm2011
Request URL:
http://crm2011:5555/devEvent7/m/console/entityconfig.aspx?etn=evx_airline
-Art