I'm new to IIS, so apologies if this is a silly question due to my lack of
knowledge. I have encountered the following issue on 2 of the 3 webservers
I'm working with. The problem is that the servers are unable to serve the
default localstart.asp page that is installed with IIS. I've traced the
problem down to the following ASP code:
Dim WshShell, ver
Set WshShell = Server.CreateObject("Wscript.Shell")
On Error Resume Next
ver = 0
ver = WshShell.RegRead("HKLM\SOFTWARE\Policies\Microsoft\Windows
NT\Printers\DisableWebPrinting")
The exact problem is with the CreateObject statement, IIS states that it
can't create the object. I have tried similar code in a straight .vbs file
and it worked fine. So it looks like IIS can't create the Wscript.Shell
object. My third server has no problem and I can't find any differences
between the configurations of IIS between servers. As I've done very little
to alter things on the servers I'm guessing that this is probably a common
problem and I would like to understand what's going on here. Thanks in
advance to anyone who can give me a clue on this.
Jon