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)

Dynamic CRM form customization error

(0) ShareShare
ReportReport
Posted on by

Hi all,

I have an error in dynamic crm on form customization. I am getting alert message with  chrome browser "object XMLDocument" and on IE "object doesn't support property or method 'tolocalestring'".when I am clicking on any entity form save button the different error is coming on browses. 

 2133.CRM2.PNG4578.CRM.PNG

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Did you try clearing cache or inprivate/incognito browsing? I have seen this error multiple time and is generaly related to caching. If not caching then the last customization you have made must have caused this issue?

    Is this happening on all entity >> all forms or some specific form? Try creating a new form and see if you are able to reproduce the issue.

    Here are some previous post on the same-

    community.dynamics.com/.../243210

    community.dynamics.com/.../162493

    social.microsoft.com/.../object-doesnt-support-property-or-method-tolocalestring-when-trying-to-save-the-customization

    Hope this helps.

  • Community Member Profile Picture
    on at

    Thanks ravi,

    I have tried on other computer with different browser. but showing same error.

    Is this happening on all entity?

    Yes ,for all entity form (checked for account,contact and opportunity).

    Try creating a new form and see if you are able to reproduce the issue?

    Yes ,but same error.

  • Community Member Profile Picture
    on at

    And also getting following error message:

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail:

    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance&quot; xmlns="schemas.microsoft.com/.../Contracts&quot;>

     <ActivityId>32209c06-d0da-43aa-9517-47d3b5c50adb</ActivityId>

     <ErrorCode>-2147204784</ErrorCode>

     <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic&quot;>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiExceptionSourceKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">Plugin/Microsoft.Crm.ObjectModel.SystemFormService</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiOriginalExceptionKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">Microsoft.Crm.CrmException: Generic SQL error. ---> Microsoft.Crm.CrmException: Generic SQL error. ---> System.Data.SqlClient.SqlException: The database 'db_crmcoregbr_20180708_03285846_4702' has reached its size quota. Partition or delete data, drop indexes, or consult the documentation for possible resolutions.

      at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

      at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

      at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

      at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)

      at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)

      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

      at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

      at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

      at Microsoft.Crm.CrmDbConnection.InternalExecuteWithRetry[TResult](Func`1 ExecuteMethod, IDbCommand command)

      at Microsoft.Crm.CrmDbConnection.<>c__DisplayClass107_0.<InternalExecuteNonQuery>b__0()

      at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func)

      at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)

      at Microsoft.Crm.Platform.MetadataBusinessEntities.DBCommandExecutor.ExecuteNonQuery(IDbCommand command, ISqlExecutionContext context)

      at Microsoft.Crm.Platform.SolutionAwareComponents.MPOCreateComponentInstanceAction.Execute(ExecutionContext context)

      at Microsoft.Crm.Platform.SolutionAwareComponents.ComponentStateTransition.Execute(Int32 componentType, Guid objectId, Object operationParameter, BusinessComponentState currentState, ExecutionContext context)

      at Microsoft.Crm.Platform.MetadataBusinessEntities.MetadataProcessObject.DoCreate(MetadataBusinessEntity metadataEntity, ExecutionContext context)

      at Microsoft.Crm.Platform.MetadataBusinessEntities.MetadataProcessObject.Create(MetadataBusinessEntity metadataEntity, ExecutionContext context)

      at Microsoft.Crm.Platform.MetadataBusinessEntities.MetadataProcessObject.<>c__DisplayClass1_0.<Create>b__0()

      at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action)

      at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action)

      at Microsoft.Crm.Platform.MetadataBusinessEntities.MetadataProcessObject.Create(IMetadataDescriptionPropertyBag metadataDescription, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.SolutionAwareLocalizedLabelService.SetLocLabelsNoSecurity(Guid objectId, String objectColumnName, LocLabel[] labels, LabelTypeCode labelTypeCode, ExecutionContext context)

      at Microsoft.Crm.ObjectModel.FormLabelHelper.ExtractAndSaveFormLabels(XmlDocument formDoc, Boolean isCreate, String oldFormXml, Boolean extractUnchangedLabels, Nullable`1 objectTypeCode, ExecutionContext context, Nullable`1 langCode)

      at Microsoft.Crm.ObjectModel.FormLabelHelper.ExtractAndSaveFormLabels(IBusinessEntity entity, Boolean isCreate, String oldEntityFormXml, Boolean extractUnchangedLabels, ExecutionContext context, Nullable`1 langCode)

      at Microsoft.Crm.ObjectModel.SystemFormService.Update(IBusinessEntity entity, ExecutionContext context, DynamicMetadataCache cache, Boolean ignoreFormXmlLabels)

      at Microsoft.Crm.ObjectModel.SystemFormService.Update(IBusinessEntity entity, ExecutionContext context)

      --- End of inner exception stack trace ---

      --- End of inner exception stack trace ---

      at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)

      at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)

      at Microsoft.Crm.Extensibility.Pipeline.<>c__DisplayClass2_1.<Execute>b__0()</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiStepKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">57066171-5620-4448-aebf-472b99862006</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiDepthKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">1</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiActivityIdKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">32209c06-d0da-43aa-9517-47d3b5c50adb</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiPluginSolutionNameKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">System</d2p1:value>

       </KeyValuePairOfstringanyType>

       <KeyValuePairOfstringanyType>

         <d2p1:key>ApiStepSolutionNameKey</d2p1:key>

         <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema&quot; i:type="d4p1:string">System</d2p1:value>

       </KeyValuePairOfstringanyType>

     </ErrorDetails>

     <Message>Generic SQL error.</Message>

     <Timestamp>2018-07-26T12:27:02.1072559Z</Timestamp>

     <ExceptionRetriable>false</ExceptionRetriable>

     <ExceptionSource i:nil="true" />

     <InnerFault i:nil="true" />

     <OriginalException i:nil="true" />

     <TraceText i:nil="true" />

    </OrganizationServiceFault>

  • Suggested answer
    sandeepstw Profile Picture
    4,601 on at

    Hi,

    Are you using on premises, please check disk space in your drive where Dynamics crm installed and also MS_Config db? Most of cases it comes by disk space issue.

  • Community Member Profile Picture
    on at

    Thanks sandeep for reply,

    Are you using on premises?

    No

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Akram,

    This is not normal error as you are using online. Is there any customization you did recently?

    I would suggest try with different admin user and different machine first.  If you are getting same error then wait for some hours might be 24 hours . If its still does not resolved raise a ticket to Microsoft.

  • Community Member Profile Picture
    on at

    Thanks Goutam for reply,

    Is there any customization you did recently?

    Yes(added some fields and webResources).

    I have raised ticket to microsoft but no response .

  • Community Member Profile Picture
    on at

    Hi,

    I am getting following log when saving entity form.

    Message: The database 'db_crmcoregbr_20180708_03285846_4702' has reached its size quota. Partition or delete data, drop indexes, or consult the documentation for possible resolutions.
    Number: 40544
    Procedure:
    Server: a48586d24671.tr2.ukwest1-a.worker.database.windows.net,11044
    Source: .Net SqlClient Data Provider
    State: 2
    ToString(): System.Data.SqlClient.SqlError: The database 'db_crmcoregbr_20180708_03285846_4702' has reached its size quota. Partition or delete data, drop indexes, or consult the documentation for possible resolutions.
    --
    : Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A0E94E4B</Message>

    Thanks

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Akram,

    As you are using CRM online, I don't think you can do anything from your side to fix this issue. This is certainly some backend issue and you should contact Microsoft Support to asist on this.

    https://admin.dynamics.com

    Hope this helps.

  • Community Member Profile Picture
    on at

    Thanks ravi ,

    I was posted ticket to support team but no response.

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