asp script engine registrition

J

jianchiwei

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.
 
T

Tom

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" %>

??
 
M

Mark Hammond

jianchiwei said:
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?

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top