Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

asp script engine registrition

3 views
Skip to first unread message

jianchiwei

unread,
Apr 28, 2004, 4:11:42 PM4/28/04
to pytho...@python.org
question:
I run
c:\python23\Lib\site-packages\win32comext\axscript\client\pyscript.py
and it told me
Registered: Python
Registration of Python ActiveX Scripting Engine complete.

But, when I run a asp script

<%@LANGUAGE=Python%>
<HTML>
<head></head>
<body>
<h1>Python - Test</h1>

</body>
</html>

I still get
HTTP/1.1 500 Server Error
caused by the first line of code "<%@LANGUAGE=Python%>".
It seems to me that python script engine is not correctly registered.
Could someone help me on this please?
Thanks
J.W.


Tom

unread,
Apr 28, 2004, 6:17:10 PM4/28/04
to
jianchiwei wrote...

> question:
> I run
> c:\python23\Lib\site-packages\win32comext\axscript\client\pyscript.py
> and it told me
> Registered: Python
> Registration of Python ActiveX Scripting Engine complete.
>
> But, when I run a asp script
>
> <%@LANGUAGE=Python%>
> <HTML>


<% @LANGUAGE="Python" %>

??

Mark Hammond

unread,
Apr 29, 2004, 1:08:42 AM4/29/04
to

Do the sample .asp files work? If so, then you should be able to work
out what is wrong by comparing them. If not, try registering the engine
with "--debug" on the command-line, then use Pythonwin's "Tools->Remote
Trace Collector" - hopefully you will see a traceback with the specific
problem.

Mark.

0 new messages