J.D. Main wrote:
> (repost of previous message apparently HTML'd by my mailer...sorry)
>
> Hello,
> I have been hunting for a solution to this one for some time.  I've
> already tried all the easy stuff.  I have IIS 5 on a WinXP Pro machine.
> I recently posted this to the Python WEB sig - apparently not many windows
> users on that
> list.
> I can run python scripts as CGI but not as ASP.  All I get is:
>
> HTTP/1.1 500 Server Error
> (nothing else - no other errors or explanation - seriously)
>
> I have tried:
>
> 1.  Reinstalling Python (v2.7 from ActiveState)
> 2.  Reinstalling IIS
> 3.  Running pyscript.py from "site-packages\win32comext\axscript\client"
> 4.  I have "friendly errors" turned off in IE
> 5.  ASP does work with VB Scripts
>
> Here is the most basic ASP page I'm trying to run:
>
> <%@LANGUAGE=Python%>
> <html>
> <body>
> <%
> response.write("Hello World!")
> %>
> </body>
> </html>
>
> Does anybody have any ideas?  This is really getting annoying and I can't
> find a solution.  Other people have complained of this and I've seen no
> solution.
>
> Thanks.
> J.D.

Try registering it in debug mode, by passing --debug to pyscript.py.
The trace collector in Pythonwin should show any error msgs
generated by Python (assuming it gets as far as loading Python).

           Roger






_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to