web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Change Address ZIP/Postal Code field length

(0) ShareShare
ReportReport
Posted on by 10

So this comes from a Stackoverflow.Com question that I answered this afternoon but I cannot figure out if this is bug or by design. In both on-premises and online the postal code field is limited to 50 characters. If you increase the size of this field the UI will allow it buy the underlying SQL field, CustomerAddressBase.PostalCode, will remain at its OOTB size of 50, and when saving a value to this field greater than 50 it throws a SQL error.

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>2013-10-04T13:57:19.13039Z</Timestamp> <InnerFault i:nil="true" /> <TraceText i:nil="true" /> </OrganizationServiceFault>

I would of expected if this is by design that the CRM 2011 customization UI would have prevented a user from increasing the field size, but you can increase it.

http://stackoverflow.com/questions/19184031/change-contacts-zip-postal-code-field-length/

This is in both CRM 2011 On-Premises Rollup 12 and CRM Online.

*This post is locked for comments

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans