[PYTHON DB-SIG] Re: [PYTHONWIN-SIG] Info about Python and ODBC uploaded

Harri Pasanen pa@tekla.fi
Fri, 9 May 1997 15:44:34 +0300


chas writes:
> 
> ps. anyone ever come across an IOERROR problem on NT with python cgi scripts
>     ... they function fine from the command line but when called 
>     via the web, i keep getting a bizarre error :
> 
> open ("domains.txt", "r") IOError: (2, 'No such file or directory'   
> 
>    the file most certainly does exist (as witnessed by
>    the success of the script from the command line)... and the
>    IUSER with MSIIS has full control over the directory ....
>    frustrating.
> 

Just a guess:

The current directory may be whatever.  You should probably use an
absolute path to your file.

Hope this helps,

Harri

_______________
DB-SIG  - SIG on Tabular Databases in Python

send messages to: db-sig@python.org
administrivia to: db-sig-request@python.org
_______________