[python-win32] Python in classic ASP
Erik Oosterwaal
erik at supportprofessionals.nl
Wed Jul 21 09:25:50 CEST 2010
Hi All ,
I'm developing webapplications in classic ASP, currently in VBscript ,
and making extensive use of WSCs to separate code from GUI. Because we
want to transfer over to Python, we are currently trying to implement
parts of our main project into python, to get familiar with the
language. In the future we'd like to use Python for new projects all
together (outside of classic asp). For now we're still stuck with the
classic asp environment.
In a WSC you can implement the usual ASP objects with the statement:
<implements type="ASP" id="ASP"/>
Now, the Python code in my WSC works fine, but as soon as I try to use
an ASP object or object method like, Response .Write() in the WSC , it
fails:
error '80020009'
Exception occurred.
/tools/python.asp, line 9
I have attached a WSC and an ASP page that work, except for the usual
ASP objects, I hope some of you can shed some light on this for me,
information about Python in a WSC from classic AP is pretty scarce on
the Internet. Please note that I added .txt to the usual file extentions
to prevent the files from being blocked. (come to think of it, I don't
even know if attachments work in a post to this mailing list, but I
guess I'll find that out in a minute)
Thanks in advance, and kind regards,
Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100721/70b89179/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python.wsc.txt
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100721/70b89179/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python.asp.txt
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100721/70b89179/attachment-0003.txt>
More information about the python-win32
mailing list