WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

ADSI
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

ADSI IIS related bug in Win2k3 sp1


Question:

I am using the below function trying to get the web site name on an IIS 6 server, but get empty return. No error message. What did I do wrong or is there a different way to get the site name?

AddExtender("WWADS34I.DLL")
ServerName = Environment("ComputerName")
WebSiteName = dsGetProperty("IIS://%ServerName%/W3SVC/1", "ServerComment")
Message("",WebSiteName)

It works perfect on Windows 2003 without SP1. Don't know what wrong with SP1, how to fix??

Answer:

MSFT introduce an ADSI/IIS related bug in Win2k3 sp1. The latest version of the extender has a workaround for the problem. Note that the latest version is 44015.

If you are using Win2003 Server Web Edition, users have reported that the problem is fixed by installing SP2 of that product.


Article ID:   W16792
File Created: 2007:07:03:14:26:16
Last Updated: 2007:07:03:14:26:16