win32com and IIS?

Arad Rostampour arad at fc.hp.com
Sat Nov 6 22:29:07 EST 1999


Hi,

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

import win32com.client
ie = win32com.client.Dispatch("InternetExplorer.Application")
ie.Navigate("http://www.hp.com")
...

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\dynamic.py", 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?

Thanks,
Arad
--
Arad Rostampour- arad at fc.hp.com
NT Platform and I/O Team
Software and System Development Lab
Hewlett-Packard






More information about the Python-list mailing list