Microsoft Knowledge Base Email Alertz

(887842) - Fixes a problem that occurs if the subject title of an activity contains a special character.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 887842 - Last Review: June 2, 2006 - Revision: 2.1

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

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  (http://kbalertz.com/Feedback.aspx?kbNumber=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.

APPLIES TO
  • Microsoft CRM 1.2
Keywords: 
kbmbsworkflow kbdocerr kbprb kbmbsmigrate kbqfe kbhotfixserver KB887842
Retired KB ArticleRetired 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.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate