[python-win32] ASP Error 0115

Ruggier, Mario Mario.Ruggier@softplumbers.com
Thu, 4 Oct 2001 12:11:14 +0200


Hi,

I have an Active Server Page using Python as Script Language,
running on IIS 5.0, Win2000, ActivePython 2.1.

In the ASP, I import a python module (which is a DLL generated=20
with SWIG wrap of a C++ module). The module imports OK, but when=20
I try to call any method of this module, I consistently get=20
the ASP error:=20

Error Type:
Active Server Pages, ASP 0115 (0x80004005)
A trappable error (C0000005) occurred in an external object.=20
The script cannot continue running.
/asp/test.asp

When I run the same identical python code that uses this module=20
out of ASP, both as a stand-alone script and as a module called
from another web application (not ASP), the code and the=20
imported module give perfectly correct rsults.

The ASP error is generated even if the method call that triggers
it is inside of a python try/except block.

Does anyone any ideas what may be causing this, or even=20
how I may go about to debug this?=20


Mario Ruggier
--
SoftPlumbers SA, 26 rue Maunoir, CH-1207 Gen=E8ve
Mobile +41.79.240.8636 | Office +41.22.849.1002