win32com and IIS?

Mark Hammond mhammond at skippinet.com.au
Sun Nov 7 00:20:48 EST 1999


I have never seen this before.  However, these details really arent enough
to help me diagnose the problem.  It is possible to break this down further?

Mail me if you want help doing this.  A good start would be to turn on the
debugging flags at the top of win32com\client\dynamic.py...

Mark.

Arad Rostampour wrote in message <802s6a$mj5$1 at web1.cup.hp.com>...
>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?







More information about the Python-list mailing list