module not found in IIS virtual dir

Peter Maas peter at
Wed Aug 31 14:33:20 CEST 2005

I'm trying to call python scripts from IIS in the following tree:


- select/ is referred from IIS as a virtual dir vselect.

- upgrade/ is inserted into the Python path via .pth file in

- has a line "from util import logonUser".

If I run from the command line everything is ok. But
if I call it via IIS (http://localhost/vselect/ there
is an error "No module named util" due the fact that
still sees upgrade/ in the Python Path but upgrade/util/
can no longer be found by (os.path.exists returns
false). This is strange because other modules, e.g. are still
importable. Hope you can help me. Thanks.

Peter Maas,  M+R Infosysteme,  D-52070 Aachen,  Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')

More information about the Python-list mailing list