Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom Form

(0) ShareShare
ReportReport
Posted on by

I am trying to update main form following the link"msdn.microsoft.com/.../gg509014.aspx". no errors while creating but after creating the entity new form is not loading .It only shows Loading .... Log files shows" Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmArgumentException: Unrecognized control classId {DACE0EB1-D52E-469B-BA54-404300F8F2A9};InlineEdit ---> System.ArgumentException: Unrecognized control classId {DACE0EB1-D52E-469B-BA54-404300F8F2A9};InlineEdit --- End of inner exception stack trace --- at Microsoft.Crm.Application.Forms.FormControlCacheLoader.LoadCacheData(FormControlCacheKey key, IOrganizationContext context) at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context) at Microsoft.Crm.Application.ControlActivator.CreateControl(ControlDescriptor controlDescriptor, FormFactor formFactor, String controlIdPrefix, CustomizableFormExtended hostForm, FormDescriptor hostFormDescriptor, IOrganizationContext context, DynamicMetadataCache metadataCache) at Microsoft.Crm.Application.InlineEdit.Mediators.FormMediator.ProcessControlHierarchy(Action`2 controlHandler) at Microsoft.Crm.Application.InlineEdit.Mediators.FormMediator.GetInstance(FormFactor formFactor, FormDescriptor descriptor, Guid processId, Int64 processVersionNumber, IOrganizationContext organizationContext) at Microsoft.Crm.Application.InlineEdit.Mediators.FormMediator.GetInstance(FormFactor formFactor, Guid formId, Guid processId, Int64 processVersionNumber, IOrganizationContext organizationContext) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, Guid formId, FormFactor formFactor) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, Guid formId, FormFactor formFactor) at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 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 ASP.form_data_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #AA09B6DFDetail: edc32249-9795-4d8a-ba83-210dbc00ea28 -2147220970 System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Crm.CrmArgumentException: Unrecognized control classId {DACE0EB1-D52E-469B-BA54-404300F8F2A9};InlineEdit ---> System.ArgumentException: Unrecognized control classId {DACE0EB1-D52E-469B-BA54-404300F8F2A9};InlineEdit --- End of inner exception stack trace --- at Microsoft.Crm.Application.Forms.FormControlCacheLoader.LoadCacheData(FormControlCacheKey key, IOrganizationContext context) at Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context) at Microsoft.Crm.Application.ControlActivator.CreateControl(ControlDescriptor controlDescriptor, FormFactor formFactor, String controlIdPrefix, CustomizableFormExtended hostForm, FormDescriptor hostFormDescriptor, IOrganizationContext context, DynamicMetadataCache metadataCache) at Microsoft.Crm.Application.InlineEdit.Mediators.FormMediator.ProcessControlHierarchy(Action`2 controlHandler) at Microsoft.Crm.Application.InlineEdit.Mediators.FormMediator.GetInstance(FormFactor formFactor, FormDescriptor descriptor, Guid processId, Int64 processVersionNumber, IOrganizationContext organizationContext) at Microsoft.Crm.Application.InlineEdit.Mediators.FormMediator.GetInstance(FormFactor formFactor, Guid formId, Guid processId, Int64 processVersionNumber, IOrganizationContext organizationContext) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, Guid formId, FormFactor formFactor) at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, Guid formId, FormFactor formFactor) at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 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 ASP.form_data_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #AA09B6DF 2018-01-25T17:24:45.8254098Z false edc32249-9795-4d8a-ba83-210dbc00ea28 -2147220989 Unrecognized control classId {DACE0EB1-D52E-469B-BA54-404300F8F2A9};InlineEdit 2018-01-25T17:24:45.8254098Z false edc32249-9795-4d8a-ba83-210dbc00ea28 -2147220970 System.ArgumentException: Unrecognized control classId {DACE0EB1-D52E-469B-BA54-404300F8F2A9};InlineEdit 2018-01-25T17:24:45.8254098Z false " Any help is appreciated!!! Thanks, Lakshmi.

*This post is locked for comments

  • ashlega Profile Picture
    34,477 on at
    RE: Custom Form

    If it's classid, it should be the same for all controls of the same type.. if I were to do this, I'd probably just create a new form manually, add the controls I may need, export the form(as part of the solution), then copy paste classid-s from customization XML to your code.. then delete the form created above.

  • Lax Profile Picture
    on at
    RE: Custom Form

    Classid is a new Guid id of the field attribute.How can we find class of the control?

    <row>

            <cell id=""{6e5975d3-64b5-14eb-00e4-064e3dd298b9}""

                  showlabel=""true""

                  locklevel=""0"">

             <labels>

              <label description=""AttributeName""

                     languagecode=""1033"" />

             </labels>

             <control id=""new_bankname""

                      classid=""{DACE0EB1-D52E-469B-BA54-404300F8F2A9}""

                      datafieldname=""new_bankname""

                      disabled=""false"" />

            </cell>

           </row>

  • ashlega Profile Picture
    34,477 on at
    RE: Custom Form

    Where is it getting that Id from ("DACE0EB1-D52E-469B-BA54-404300F8F2A9")? Is this what you are using in your code? Maybe it's just not a valid class id for the control?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans