'Try' must end with a matching 'End Try'

Try is used to initiate a Try block; hence it can only appear at the beginning of the block, with a matchingEnd Try statement ending the block. Either you have a redundant Try, or you did not end your Try block with Finally.

Error ID: BC30384

To correct this error

  • Locate and remove the extraneous Try, or end the block with a matching End Try.

See Also

Concepts

Structured Exception Handling Overview for Visual Basic

Reference

Try...Catch...Finally Statement (Visual Basic)