locked
MSCRM 2011 - increase Address Name field length issue (not working) RRS feed

  • Question

  • Hi all,

    I am using MSCRM 2011 (on-premise) UR 15.  I have increased Address Name 1 (address1_name) and Address Name 2 (address2_name) field length from 200 to 500 and then publish.  However, when I import a Contact or update a contact, if the address1_name or address2_name exceed 200 characters, there will be a "SQL Server Error" appears.  Any help is highly appreciated.  Thanks.

    Gary


    Log File (ErrorDetails.txt):

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Generic SQL error.Detail: 
    <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
      <ErrorCode>-2147204784</ErrorCode>
      <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
      <Message>Generic SQL error.</Message>
      <Timestamp>2014-05-26T08:01:59.905537Z</Timestamp>
      <InnerFault i:nil="true" />
      <TraceText i:nil="true" />
    </OrganizationServiceFault>

    Monday, May 26, 2014 8:11 AM

All replies

  • you might need to address fields on "customeraddress" entity as well, so go to ""customeraddress" entity and then update length on relevant fields on them as well. 

    MayankP
    My Blog
    Follow Me on Twitter

    Monday, May 26, 2014 4:15 PM
    Answerer
  • Hello,

    I faced this issue once. Solution is open Address entity and increase length of name field to 500 chars.


    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

    Monday, May 26, 2014 4:22 PM
    Moderator