Hello
The option should be A and not C.
The question was hot to handle error in ASP. On Error GOTO <ErrorPath>
The below example records any error occured in the code. Hence the answer for the above question is A.
On Error GoTo DisplayErrorInfo
cn.Provider sas.localprovider.1
cn.Properties( Data Source ) c:\testdata
cn.Open
rs.Open lostDataset cn adOpenDynamic adLockOptimistic ADODB.adCmdTableDirect
rs.Close
cn.Close
DisplayErrorInfo:
For Each errorObject In rs.ActiveConnection.Errors
Debug.Print Description : ; errorObject.Description
Debug.Print Number: ; Hex(errorObject.Number)
Next