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



The information in this article applies to:

  • Microsoft CRM 1.2

SYMPTOMS

When you customize an "Advanced Find View for Contact" view in Microsoft Business Solutions CRM 1.2, you receive the following error message:
"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"
Specifically, this problem occurs when the following conditions are true:
  • You add a new column to one of the following "Advanced Find View for Contact" 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 "Applies to" 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.

MORE INFORMATION

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:
    • Assistant's Phone
    • Manager's Phone
    • Spouse's Name
  6. Click Save two times.

REFERENCES

For additional information about how to turn on DevErrors, click the following article number to view the article in the Microsoft Knowledge Base:

857192 How to use the Web.config file to show more detailed error messages in Microsoft Business Solutions CRM (Microsoft CRM)


Modification Type:MinorLast Reviewed:8/11/2005
Keywords:kbMBScustomization kbMBSMigrate kbBug KB890588 kbAudEndUser