Get Server Info
-
Hi all, I need to get some information about a specfied remote server using ASP. Does anybody know how to do this? Thanks Anthony
-
All, If anyone could tell me how to check if another machine is running IIS, that would be great also. Thanks again, Anthony
To gather information about machine where you execute your ASP code, you can use WScript object. Look for a good example here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8205&lngWId=4[^] antbates wrote: If anyone could tell me how to check if another machine is running IIS It already has IIS,if you are executing ASP code, not? :) Also forget about network in ASP. You cannot access any network resources (unless you change access rights for the default internet guest account) Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer
-
To gather information about machine where you execute your ASP code, you can use WScript object. Look for a good example here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=8205&lngWId=4[^] antbates wrote: If anyone could tell me how to check if another machine is running IIS It already has IIS,if you are executing ASP code, not? :) Also forget about network in ASP. You cannot access any network resources (unless you change access rights for the default internet guest account) Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer
Maybe I should have explained myself more clearly. I am on Machine A, running an ASP script on Server B, and need to check if Machine C has IIS. What I have done is to make a component in VB which uses NetServerGetInfo. As you say though, it doesn't work very well due to permissions problems. Thanks for your help.
-
Maybe I should have explained myself more clearly. I am on Machine A, running an ASP script on Server B, and need to check if Machine C has IIS. What I have done is to make a component in VB which uses NetServerGetInfo. As you say though, it doesn't work very well due to permissions problems. Thanks for your help.
your looking in the wrong place.. From what I've gathered, considering Im a frequent user here at Code Proyect, all you'll find here are legal codes and sources....but...you should look around www.astalavista.com,...look for scanners... There you'll find applications that can preform these tasks..cuz I personally havent heard or seen of a way of reading from another server through web-enabled applications... http://www.astalavista.com/archive/ luck, Jon X-ZD Designs