web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • ashlega Profile Picture
    34,477 on at

    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?

  • Lax Profile Picture
    on at

    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

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans