Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Unable to increase field length in serviceappointment entity in ms crm 2016 version

Posted on by 150

Hi,

i am trying to increase the length of the subject field in serviceappointment entity, but its throwing server side exception

please find the exception details below  :

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Updating ActivityPointer.subject.Length is not valid because this is an indexed attribute and hence cannot have size greater than 900. Original value:400. New value:1600. Existing index is ndx_ActivitySubject with type=6Detail:
<OrganizationServiceFault xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">schemas.microsoft.com/.../Contracts">
  <ActivityId>ce811858-7a08-419c-aeef-94498d3ff953</ActivityId>
  <ErrorCode>-2147167598</ErrorCode>
  <ErrorDetails xmlns:d2p1="">schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Updating ActivityPointer.subject.Length is not valid because this is an indexed attribute and hence cannot have size greater than 900. Original value:400. New value:1600. Existing index is ndx_ActivitySubject with type=6</Message>
  <Timestamp>2019-07-22T07:17:51.1886556Z</Timestamp>
  <ExceptionRetriable>false</ExceptionRetriable>
  <ExceptionSource i:nil="true" />
  <InnerFault i:nil="true" />
  <OriginalException i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>
Categories:
  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Unable to increase field length in serviceappointment entity in ms crm 2016 version

    Hi partner,

    Are you using On-Primise instance? Did you want to increase the field length in DB directly?

    You could refer to the following similar posts.

    community.dynamics.com/.../crm-2011-solution-import-failed-message-0x80040203-updating-recurringappointmentmaster-subject-length-but-it-s-not-valid-for-update-original-value-600-new-value-400

    community.dynamics.com/.../increase-field-length-of-a-standard-table-field

    social.microsoft.com/.../import-of-default-solution-fails-invalid-argument

    Hope it helps.

    Best Regards,

    Leo

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans