I'm trying to make some modifications to some old ASP pages running VBScript on a server that I don't have a lot of information about. The people who would have that information are off in another department/hard to track down/probably wouldn't be able to provide complete information anyway.
I would like to run an ASP script that would get the server to tell me about itself. Information I would like to know is stuff like:
- the version number of the server
- version of Windows it is running on
- the version of VBScript am I using
- what dll's and COM objects are available for me to use
Bearing in mind that I know very little about ASP, what is some code that I could put into an ASP file I could run on the server so that it would provide me this information?
Based on the ServerVariables clue provided in the comment by JB King, below, I wrote this code and put it in an ASP:
<%
dim x
for each x in Request.ServerVariables
response.write("<p>" & x & ": " & Request.ServerVariables(x) &"</p>")
next
%>
This provided a lot of the information I needed - such as telling me that I'm actually running under something called Chili!Soft on a Solaris server, not Windows, which probably explains why the stuff I want to use from the Microsoft library doesn't work.
I still would like a good way of figuring out what COM objects are available in this environment...