Microsoft KB Archive/890588

= You receive a &quot;There is an unclosed literal string. Line 1, position 242&quot; error message when you add a new column to an &quot;Advanced Find View for Contact&quot; view in Microsoft Business Solutions CRM 1.2 =

Article ID: 890588

Article Last Modified on 8/11/2005

-

APPLIES TO


 * Microsoft CRM 1.2

-





SYMPTOMS
When you customize an &quot;Advanced Find View for Contact&quot; view in Microsoft Business Solutions CRM 1.2, you receive the following error message:

&quot;Microsoft CRM Unhandled Error Details: There is an unclosed literal string. Line 1, position 242. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Xml.XmlException: There is an unclosed literal string. Line 1, position 242. Source Error: An unhandled exception was generated during the execution of the current web request&quot;

Specifically, this problem occurs when the following conditions are true:
 * You add a new column to one of the following &quot;Advanced Find View for Contact&quot; views in Microsoft CRM 1.2:
 * Edit Advanced Find View
 * Edit Associated View
 * The column that you add is one of the following columns:
 * Assistant’s Phone
 * Manager’s Phone
 * Spouse’s Name
 * You click Save two times after you add the column.

Although you receive an error message, the change that you make to a record while you use the customized view in Microsoft CRM 1.2 is saved. Therefore, the functionality of the view is not affected.



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

Note This problem does not occur in Microsoft CRM 1.0, and this problem does not occur if you upgraded from Microsoft CRM 1.0 to Microsoft CRM 1.2.



Steps to reproduce the problem

 * 1) Turn on Developer Errors (DevErrors) in the Web.config file.
 * 2) Start Microsoft CRM 1.2.
 * 3) Click Home, click Settings, click System Customization, and then click Contacts. Next, click Edit Advanced Find View or Edit Associated View.
 * 4) Click Add Columns.
 * 5) Add one of the following:
 * 6) * Assistant's Phone
 * 7) * Manager's Phone
 * 8) * Spouse's Name
 * 9) Click Save two times.

