I am trying to debug a classic ASP application (written in VBScript) using Visual Studio 2015.
The page which is throwing the error is structured as follows :
<%
:
:
class MyFile
:
:
899 someObj.Open sSQL, connect
:
:
%>
The page throws an error at the line above.
COM Error Number : -2147217900 (0x80040E14)
File Name : /includes/MyFile.Class.asp
Line Number : 899
Brief Description : Invalid column name 'Column'.
But I cannot debug this. I tried the following
Any suggestions ? Is inline script debugging (this is not within javascript) supported at all ?
Select your site in the IIS Management tool, Doubleclick "ASP" in the main window. Set "Send Errors To Browser" to True, enable client-side and server-side debugging as well.
If you have Visual Studio installed, and add a "STOP" instruction anywhere in the vbscript code, you should be able to select Visual Studio as the debugger.
User contributions licensed under CC BY-SA 3.0