Active Python, ASP, and security

Jonathan Gilligan jonathan.gilligan at vanderbilt.edu
Tue Jun 25 13:01:21 EDT 2002


I have a problem with ActivePython scripting on ASP pages. If I set IIS to
use the low-security (in-process) settining, the demo files (e.g.,
Python21\win32comext\axscript\demos\client\asp\tut1.asp) work fine. If I set
IIS to use Medium (Pooled) security, I get a 500 error message, and the
following Event in the event viewer:

   The COM Application '{3D14228D-FBE1-11d0-995D-00C04FD919C1}' at
   '/LM/W3SVC/1/Root/TestPyAsp' failed to activate out of process.
   For additional information specific to this message please visit
   the Microsoft Online Support site located at:
   http://www.microsoft.com/contentredirect.asp.

I am running Windows 2000 Pro, SP2 with IIS 5.0, and ActiveState Python
2.1.2 build 2.1.212 (PythonWin 2.1.1 (#20, Jul 26 2001, 11:38:51)).

Can anyone help me understand how to fix the problem with OOP activation of
the Python Scripting engine?





More information about the Python-list mailing list