win32com and IIS

Roger Upole rupole at hotmail.com
Tue May 10 20:18:25 EDT 2005


Are you authenticating when you connect to the web server ?
If you're connected as an anonymous user, you don't have
enough privilege.

       Roger

"Chris Curvey" <ccurvey at gmail.com> wrote in message 
news:1115744207.222691.276160 at f14g2000cwb.googlegroups.com...
> Hi all,
>
> I have a python script that uses the PAMIE libraries to drive IE.  It
> runs fine from the command line, but it appears to have some
> permissions problem when I run it via CGI.  Here's the stack trace that
> I'm getting.
>
>  File "c:\documents and settings\chris\my
> documents\cms\com\artfact\cms\model\cPAMIE.py", line 54, in __init__
>    self._ie = DispatchEx('InternetExplorer.Application')
>  File "C:\Program Files\Plone
> 2\Python\lib\site-packages\win32com\client\__init__.py", line 112, in
> DispatchEx
>    dispatch = pythoncom.CoCreateInstanceEx(clsid, None, clsctx,
> serverInfo, (pythoncom.IID_IDispatch,))[0]
> com_error: (-2147024891, 'Access is denied.', None, None)
>
> I found this thread in the archives, but the changes made there don't
> seem to have helped.
>
> http://groups-beta.google.com/group/comp.lang.python/browse_thread/thread/3273ca109892b275/0da814cb9f341568?q=win32com+iis&rnum=2#0da814cb9f341568
>
> Any suggestions?
> 



----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----



More information about the Python-list mailing list