Help! IIS and Python
Sunit Joshi
sjoshi at ingr.com
Wed Feb 13 15:45:32 EST 2002
More information about the Python-list mailing list
Wed Feb 13 15:45:32 EST 2002
- Previous message (by thread): Help! IIS and Python
- Next message (by thread): Help! IIS and Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello I'm trying to use IIS5.0 with Python 2.1 and whenever I try to import modules I get an error. The test.asp and error are below. thanks Sunit sjoshi at ingr.com <%@ Language=Python %> <% import string server = Request.ServerVariables("SERVER_NAME") server = string.upper(server) clientIP = Request.ServerVariables("REMOTE_ADDR") %> <HTML><HEAD><TITLE>Python Test Page</TITLE></HEAD> <BODY> <p> <h3><font color="#990033">You are coming from <b><font color="#669900"><%=clientIP%></font></b> to <%=server%></font></h3> <hr> PythonAspTest </BODY> </HTML> Error Type: Python ActiveX Scripting Engine (0x80020009) Traceback (innermost last): File "<Script Block >", line 3, in ? server = string.upper(server) File "C:\Python21\lib\string.py", line 60, in upper return s.upper() File "C:\Python21\win32com\client\dynamic.py", line 438, in __getattr__ raise AttributeError, "%s.%s" % (self._username_, attr) AttributeError: <unknown>.upper
- Previous message (by thread): Help! IIS and Python
- Next message (by thread): Help! IIS and Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list