You receive an “Error: This is an unexpected token. The expected token is 'SEMICOLON'. Line 1 position 1780” message when you click the Sales Process tab in Microsoft CRM 1.2

Article translations Article translations
Article ID: 887842 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You create a sales process for the Opportunity object in Microsoft CRM 1.2. When you click the Sales Process tab of the Opportunity object, you receive the following error message:
“Error: This is an unexpected token. The expected token is 'SEMICOLON'. Line 1 position 1780”
This problem occurs if the subject title of an activity contains any one of the following special characters:
  • Ampersand (&)
  • Angle bracket (< or >)
  • Quotation mark (")
  • Apostrophe (')

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

Steps to reproduce the problem

  1. On the Microsoft CRM server, click Start, click All Programs, click Microsoft CRM, and then click Workflow Manager.
  2. In the Workflow Manager Logon dialog box, enter the name of the Microsoft CRM server in the Target Microsoft CRM server box, and then click OK.
  3. In the Object list, click Opportunity, click Sales Process in the View list, click File, and then click New.
  4. Type OppRule1 as the rule name in the Select the Event list, click Manual, and then click OK.
  5. In Common Tasks, click Insert Stage, type Stage 1 in Stage Name box, and then click OK.
  6. In the Create a Sales Process dialog box, click to select add actions here, click Insert Action, and then click Create Activity.
  7. In the Subject box, type Workflow & Activity as the subject title for the activity. In the Type list, click Task, click OK, and then click Save.
  8. Right-click the OppRule1 rule, and then click Activate.
  9. Open Microsoft CRM, click Sales, click Opportunity, click New Opportunity, enter all the required fields, and then click Save.
  10. Click Actions, click Apply Rule, click Sales Process, and then click OppRule1.
  11. Click Activities, and then click the Sales Process tab. You receive the error message that is mentioned in the "Symptoms" section.

Properties

Article ID: 887842 - Last Review: June 2, 2006 - Revision: 2.1
APPLIES TO
  • Microsoft CRM 1.2
Keywords: 
kbmbsworkflow kbdocerr kbprb kbmbsmigrate kbqfe kbhotfixserver KB887842
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com