Article ID: 244072 - Last Review: November 25, 2002 - Revision: 1.1

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

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q244072

On This Page

Expand all | Collapse all

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:
184743  (http://support.microsoft.com/kb/184743/EN-US/ ) 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.

APPLIES TO
  • Microsoft Office 2000 Developer Edition
Keywords: 
kbprb kbworkflowdesigner KB244072