Using IE9 on Windows Server 2008R2, I'm stepping through code with the built-in debugger. The debugger always flags the Server.Execute call as an error saying that 'Server' is not an object. The server side is Windows 2003 R2 Standard Edition with SP2. It is running IIS v6.0.
I'm using RUNAT=Server, so why would this not work? Why is the debugger even seeing this at the client side?
I'm using RUNAT=Server, so why would this not work? Why is the debugger even seeing this at the client side?
Code:
***Goresdb.asp -- gets #included into other vbscripts***
<!-- #include Virtual="Secure/Data/adovbs.inc" -->
<SCRIPT LANGUAGE=vbscript RUNAT=Server>
'===================================================================================
' Miscellaneous Section
'===================================================================================
'@doc
'@module goresdb.asp | Default source file for the core database wrapper functions and subroutines
'Server.Execute "/../constants.asp" 'include constants file
Server.Execute ("/constants.asp")
'Server.Execute(Server.MapPath("constants.asp"))
'@bfunc DateTimeStamp | GetDBDateTime ||Used to retrieve the date and time from the Oracle database server
Function GetDBDateTime()
On Error Resume Next
Dim Conn
Dim Cmd
Dim P0, P1
...
</SCRIPT>
Comment