win32com and IIS?

Arad Rostampour arad at
Sat Nov 6 22:29:07 EST 1999


I've been using win32com to access IE and get webpages using:

import win32com.client
ie = win32com.client.Dispatch("InternetExplorer.Application")

This works fine from the command line.  But, when I try to do this from a
CGI script under IIS, I get the following error:

File "f:\python\win32com\client\", line 319, in __getattr__ raise
pythoncom.com_error, details pywintypes.com_error: (-2147467259,
'Unspecified error', (0, None, None, None, 0, -2147467259), None) Exception
exceptions.AttributeError: in ignored

Any ideas on how to work around this?

Arad Rostampour- arad at
NT Platform and I/O Team
Software and System Development Lab

More information about the Python-list mailing list