473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

asp script engine registrition

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.


Jul 18 '05 #1
2 2308
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" %>

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

Jul 18 '05 #2
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>
<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.
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Vince C. | last post by:
Hi. I'd like to trap ADO Recordset object events in my ASP script (either VBS or JS, no preference). I've tried (in VBS) writing a Sub rs_RecordChangeComplete( adReason, cRecords, pError,...
3
by: Ed Brandmark | last post by:
I have a tag of the form <SCRIPT LANGUAGE="JavaScript1.1" SRC="foo.js"..... and was wondering if this delays the loading of my page until that file foo.js downloads. It seems that if I place...
16
by: fernandez.dan | last post by:
Hey I'm sorry if this is not the appropriate news group for this question. I was wondering if anyone has any recommendation for embbedding a script engine in a c++ application. I want to feed my...
38
by: | last post by:
I have a script... ----- <SCRIPT language="JavaScript" type="text/javascript"> <!-- function makeArray() { for (i = 0; i<makeArray.arguments.length; i++) this = makeArray.arguments; } ...
1
by: Carl Waldbieser | last post by:
Has anyone had any experience embedding a CPython engine in a .NET application? In the COM/ActiveX world, it was pretty easy to use Mark Hammond's win32 modules to create a script engine component...
9
by: sam.s.kong | last post by:
Hello! I have a JavaScript code like the following. <script> var s = "</script>"; ....
1
by: Hardy Wang | last post by:
Hi all, Anybody knows where can I find some information about script engine theory? I have the requirement: Our product has some template files, and there placeholder/variabled embedded...
1
by: Andrus | last post by:
I'm creating WinForms ERP application. This application need to run custom scripts in may places like: retrieving list of invoices before adding invoice before saving invoice after saving...
3
by: traceable1 | last post by:
Is there a way I can set up a SQL script to run when the instance starts up? SQL Server 2005 SP2 thanks!
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.