ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> Python-win32
Python-win32
[python-win32] Win32pdhutil - GetFormattedCounterValue while running python thu IIS
by sebastien Pastor other posts by this author
Mar 26 2004 10:44PM messages near this date
Re: [python-win32] win32evtlog | [python-win32] win32evtlog
Hi guys,

I ve got a piece of script which basically retrieve the "Current Connections", given by the 
Web Service
object. I am using Win32pdhutil and it works smoothly when i run the script locally.
If i try to run thru IIS  as a cgi i ve got this message :


  File "E:\PROGRA~1\Python22\Lib\site-packages\win32\lib\win32pdhutil.py", line 59, in GetPe
rformanceAttributes
    type, val = win32pdh.GetFormattedCounterValue(hc, format)
pywintypes.error: (-2147481645, 'GetFormattedCounterValue', 'No error message is available')


I guess it might be permissions error but cannot find out which one ...

Any help will be highly appreciated .

Seb


_______________________________________________
Python-win32 mailing list
Python-win32@[...].org
http://mail.python.org/mailman/listinfo/python-win32

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved