MOD2000: Runtime Exception Error Message When You Try to Save Script with a Syntax Error

ID: Q244072


The information in this article applies to:
  • Microsoft Office 2000 Developer


SYMPTOMS

In Microsoft Access Workflow Designer, if you try to save or verify script that contains a syntax error, you may receive the following error message:

Microsoft Development Environment
An exception of type 'Runtime Error' was not handled.
Would you like to debug the application?
If you click No, you receive the following error message:
Access Workflow Designer
Source: Microsoft VBScript runtime error Step name: New
Error(13):Type mismatch" 'syntax error text' Line:1, Column:0 Code:
Would you like to fix the error now?
Click Yes to locate the error.


CAUSE

When Access Workflow Designer saves or verifies script, it verifies the syntax of all script on the current Shared Script tab. Until any syntax errors are corrected, you are not able to save or verify the script. For additional information about the design of the Microsoft Script debugger, click the article number below to view the article in the Microsoft Knowledge Base:

Q184743 PRB: Script Code Runs During AddCode Method


RESOLUTION

Correct any syntax problems in the script.


MORE INFORMATION

Steps to Reproduce Behavior

  1. On the Access Workflow Designer server components computer, deploy the Issue Tracking solution.


  2. On a computer that has the Access Workflow Designer developer components installed, start Access Workflow Designer.


  3. Click the IssuesWorkflow workflow process.


  4. Click the Shared Script tab.


  5. Before the "Sub UpdateLastModifiedInformation" line, type test.


  6. Click the Verify Script or Save button.


Note that you receive the error messages mentioned in the "Symptoms" section.

Additional query words: prb run time run-time

Keywords : kbdta accwfdesigner modWFDesigner
Version : :
Platform :
Issue type : kbprb


Last Reviewed: December 30, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.