OFFXPDEV: Cannot Save a Project If There Is an Apostrophe in a Transition Caption (294669)



The information in this article applies to:

  • Microsoft Office XP Developer

This article was previously published under Q294669

SYMPTOMS

If you add a transition caption that has an apostrophe in it to a Workflow Application for SQL Server project, you receive the following syntax error, and then you cannot save the project:
Line 1: Incorrect syntax near '<All characters following the apostrophe>'

CAUSE

Workflow Applications for SQL Server transition captions do not support apostrophes.

RESOLUTION

Remove the apostrophe from the caption, and then save the project.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This behavior occurs only with Workflow Applications for SQL Server projects.

Steps to Reproduce the Behavior

  1. Open the Microsoft Development Environment.
  2. Open an existing Workflow Application for SQL Server.
  3. Add a new state, and then add a transition from an old state to the new state.
  4. Open the properties dialog box for the newly added transition.
  5. Change the caption of the transition to Test'Test
  6. Try to save the project.

    Note that you receive a syntax error.

Modification Type:MajorLast Reviewed:2/21/2002
Keywords:kbbug kberrmsg KB294669