ASP catch exception

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • eddie wang

    #1

    ASP catch exception

    I use the following code and get the following error message in my ASP
    page(not .net). Please help
    try
    mycode
    Catch ex As Exception
    Response.Write( ex.ToString)
    End Try


    Microsoft VBScript compilation error '800a0401'

    Expected end of statement

    /mail.asp, line 26

    Catch ex As Exception
    ---------^



    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
Working...