This is strange (unless your main entry-point is called "_loader.py").
Assuming it is called "loader.py", this is what *should* happen.
* when registering loader.py, you will wind up with an ISAPI DLL called
'_loader.dll'.
* when this DLL is initialized by IIS, it looks up its own name
("_loader.dll"), strips it down to just the filename portion
("_loader"), then removes the first char (giving "loader") and tries to
import that - it should find the "loader.py" we started with.
If the import failed, you would see the exact message you got, but
without the leading underscore.
The message you got implies to me that you somehow started with
"_loader.py", then registered it (giving __loader.dll). If that is
indeed how things are setup, then I guess you should just make sure the
_loader.py you started with does still exist :)
You could also try using any of the samples that come with pywin32 even
though they aren't WSGI - if they work OK, then it is just something
about your recipe. If they don't, the problem is more fundamental...
HTH,
Mark
--------------------------------------
Randy Syring
Intelicom
Direct: 502-276-0459
Office: 502-212-9913
For the wages of sin is death, but the
free gift of God is eternal life in
Christ Jesus our Lord (Rom 6:23)