I'm trying to run the tut1.asp sample that comes with ActivePython 2.1 210b
under IIS 5 (W2K). I also have the .NET SDK installed on the machine, though
I have the same problem with my laptop (without .NET). I get a HTTP/1.1 500
Server Error back from IIS. If I run it as tut1.aspx I get a friendlier
error message:
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the specific parse error details below
and modify your source file appropriately.
Parser Error Message: 'Python' is not a supported language
Source Error:
Line 1: <HTML>
Line 2:
Line 3: <SCRIPT Language="Python" RUNAT=Server>
Line 4:
Line 5: for i in range(3,8):
Source File: c:\inetpub\wwwroot\tut1.aspx Line: 3
There is a dearth of information on setting up IIS for Python, but I've
found from a search of websites and newsgroups that you need to run
pyscript.py first, which I have done and gotten back a "registered" message.
BTW, JavaScript and VBScript both run fine under both my IIS configurations
(with and without .NET). Is there a step that I'm missing? I'd love to use
Python for my scripting under ASP.
Marcus
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython