Google Группы больше не поддерживают новые публикации и подписки в сети Usenet. Опубликованный ранее контент останется доступен.

asp script engine registrition

3 просмотра
Перейти к первому непрочитанному сообщению

jianchiwei

не прочитано,
28 апр. 2004 г., 16:11:4228.04.2004
– 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

не прочитано,
28 апр. 2004 г., 18:17:1028.04.2004
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

не прочитано,
29 апр. 2004 г., 01:08:4229.04.2004

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 новых сообщений