Article ID: 839587
Article Last Modified on 9/20/2006
APPLIES TO
- Microsoft CRM 1.2
SYMPTOMS
You add a new picklist value to the Preferred Contacts field for the account object. When you publish the customization in Deployment Manager, you receive the following error message:
The error in the event log will be similar to the following:
Event Type: Error
Event Source: DMSNAPIN
Event Category: None
Event ID: 0
Date: 1/28/2005
Time: 11:19:50 AM
User: N/A
Computer: CRMSERVER
Description: PopulateStringMap Error: Object reference not set to an instance of an object. StackTrace: at Microsoft.Crm.Tools.ImportExportXml.XmlCustomization.PopulateStringMap(Object Progress)
For more information, see Help and Support Center at http://support.microsoft.com.
CAUSE
The problem is an error in the XML file that is used when the customization is published in Deployment Manager. The preferredmethodcontactcode picklist has the nextvalue attribute set incorrectly to 6 instead of 7. This causes the error when Microsoft CRM inserts new picklist values into the StringMap table. This table is located in the OrganizationName
_MSCRM SQL database.
RESOLUTION
Microsoft CRM has a fix for this problem that is part of a cumulative update. The cumulative update information is described in the following Microsoft Knowledge Base article:
904435 Update Rollup 2 is available for Microsoft CRM 1.2
MORE INFORMATION
Steps to reproduce this behavior
Steps to customize the Account form
- Start Microsoft CRM.
- Click Home, click Settings, and then click System Customization.
- Click Accounts, and then click Customize Form.
- Click the Administration tab.
- Double-click Preferred, click the Values tab, and then click Add.
- Type 10 in the Label text box, and then click OK.
- Click Save and Close.
Steps to publish the customization
- Start Microsoft CRM Deployment Manager on the Microsoft CRM server. To do this, click Start, point to All Programs, point to Microsoft CRM, and then point to Deployment Manager.
- Right-click Deployment Manager, click All Tasks, and then click Publish Customization.
- Click Account, and then click Next.
- On the Select Web Server page, click Add, click the
name of the Microsoft CRM server
where you are publishing the customization, click Add, and then click Finish. The customization will finish with the error listed in the Symptoms section. - Click OK to close the Status window.
MORE INFORMATION
For more information about the terminology that is used to describe Microsoft product updates, click the following article numbers to view the articles in the Microsoft Knowledge Base:
824684 Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards
Keywords: kberrmsg kbqfe kbprb kbmbsmigrate kbhotfixserver kbmbscustomization KB839587