Microsoft KB Archive/923510

= Error message when you select a record in the &quot;Look Up Records&quot; dialog box in Microsoft Dynamics CRM 3.0: &quot;keyValues.line1.value’ is null or not an object&quot; =

Article ID: 923510

Article Last Modified on 8/21/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 3.0

-



SYMPTOMS
When you select a record in the Look Up Records dialog box in Microsoft Dynamics CRM 3.0, you receive the following error message:

An error has occurred in the script on this page.

Line: 52

Char: 4

Error: ‘keyValues.line1.value’ is null or not an object.

This problem occurs if the following conditions are true:
 * You remove a column in the View:Customer Address Lookup View dialog box.
 * You publish the customization for the Address entity.



RESOLUTION
To resolve this problem, add the column that you removed in the View:Customer Address Lookup View dialog box. To do this, follow these steps:
 * 1) Log on to Microsoft Dynamics CRM as a user who has the System Administrator role or the System Customizer role.
 * 2) Click Settings, click Customization, click Customize Entities, and then double-click Address.
 * 3) In the Entity:Address dialog box, click Forms and Views, and then double-click Customer Address Lookup View.
 * 4) In the View:Customer Address Lookup View dialog box, click Add View Columns.
 * 5) In the Add View Columns dialog box, select the column that you removed, and then click OK.
 * 6) In the View:Customer Address Lookup View dialog box, click Save and Close.
 * 7) In the Entity:Address dialog box, click Save and Close.
 * 8) In the Customize Entities dialog box, click Address, and then click Publish.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Steps to reproduce the problem

 * 1) Log on to Microsoft Dynamics CRM as a user who has the System Administrator role or the System Customizer role.
 * 2) Click Settings, click Customization, click Customize Entities, and then double-click Address.
 * 3) In the Entity:Address dialog box, click Forms and Views, and then double-click Customer Address Lookup View.
 * 4) Click the column that you want to remove. For example, click the ZIP/Postal Code column.
 * 5) Click Remove, and then click OK when you are prompted to remove the column.
 * 6) Click Save and Close.
 * 7) In the Entity:Address dialog box, click Save and Close.
 * 8) Click Address, and then click Publish.
 * 9) Click Sales, click Quotes, and then click New.
 * 10) In the Quote:New dialog box, click Lookup next to the Potential Customer field.
 * 11) In the Look Up Records dialog box, click a record, and then click OK.
 * 12) In the Quote:New dialog box, click Look Up Address.
 * 13) In the Look Up Address dialog box, click Lookup next to the Select an Address field.
 * 14) In the Look Up Records dialog box, double-click a record.

Keywords: kbtshoot kberrmsg kbmbsmigrate kbbug KB923510

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.