Microsoft KB Archive/244072

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

Article ID: 244072

Article Last Modified on 11/25/2002

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q244072



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 PRB: Script Code Runs During AddCode Method



RESOLUTION
Correct any syntax problems in the script.



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 Microsoft Development Environment an exception of type runtime error was not handled

Keywords: kbprb kbworkflowdesigner KB244072

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.