Page 2 of 2 <12
Topic Options
#85659 - 2002-06-20 03:41 PM Re: HELP with Microsoft IIS/Proxy
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
brian, can I ask why you use IIS proxy?
it's well known fact that is slow as sh*t...

it's working fine on server which is not used for any other purpose and which has no much simultaneous queries, but when you go over 20 queries you need a super computer for the proxy to work properly on IIS...

well, perhaps you {edit} have {/edit} one doing that. [Big Grin]

cheers,

[ 20 June 2002, 15:42: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#85660 - 2002-06-20 03:43 PM Re: HELP with Microsoft IIS/Proxy
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
I use IIS Proxy because.......
It was someone else's project which I inherited and am not allowed to change. [Smile]

Brian

Top
#85661 - 2002-06-20 03:48 PM Re: HELP with Microsoft IIS/Proxy
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sad...

this happens when you have tight *ss boss...

have heard similar stuff before.
I'm glad my boss trustes what I say.

as an example:
"I was working that day 10 hours. I just didn't have time to come to office." [Razz]

cheers,
_________________________
!

download KiXnet

Top
#85662 - 2002-06-24 09:02 AM Re: HELP with Microsoft IIS/Proxy
robbocop Offline
Fresh Scripter

Registered: 2002-02-18
Posts: 5
Loc: Rome Italy
I would like to know how to check both if IIS is installed and if a web server is running.
Top
#85663 - 2002-06-24 06:58 PM Re: HELP with Microsoft IIS/Proxy
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
Here is a little script whipped up just for you.. (although I'm positive there is a UDF somewhere that basically does this):

code:
break on
$cpname = "server"
$domain = "domain"
$service = "IISADMIN"
$objcomp = GetObject("WinNT://$domain/$cpname,Computer")
IF @error = 0 ;computer exists
$obj=GetObject("WinNT://$domain/$cpname/$service,Service")
If @error = 0
$service + " exists on the target PC." ?
$scode = "unknown","stopped","start pending","stop pending","running","continue pending","pause pending","paused","error","unknown"
$Status = $obj.status
$Service+ " " + $scode[$status] + "."
Else
$Service + " does not exist on the target PC." ?
Endif
Else
"Computer does not exist or is not available."
Endif

You can get by with crossing into another domain to see if IISADMIN is installed as long as your administrator passwords match. However, you may have trouble finding out the status of the service unless you can authenticate properly on the domain in question. Essentially, this works best if you only run from the domain you're checking.

Brian

Top
Page 2 of 2 <12


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2366 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.063 seconds in which 0.034 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org