I needed to install a some python django appllication into apache+mod_wsgi on my home workstation for testing purposes.
win 7 x64
python 2.6
mod_wsgi
The application was running well on internal django web server into eclipse, but did not running on apache with mod_wsgi. Because it have problem with loading a dll.
C:\Python26\Lib\site-packages\lxml-2.3-p
1194:0674 @ 570305506 - LdrpHandleOneOldFormatImportDescriptor - ERROR: Loading "?????lU???????r??????tu??????lS????
This module is native part of lxml-2.3-py2.6-win32.egg library
I added a logging of windows loader events for httpd.exe
gflags.exe -i httpd.exe +sls
Want to know more...
Conclusion: If a library does not contains a manifest, os loader uses external or internal manifest from a executable file. If a library contains manifest resource, os loader does not uses a external manifest of executable file. So SxS does not resolves MSVC90.dll, and we get STATUS_SXS_KEY_NOT_FOUND.
Useful links:
http://blogs.msdn.com/b/junfeng/archive/2006/11/20/debugging-loadlibrary-failures.aspx
http://omnicognate.wordpress.com/2009/10/05/winsxs/
http://msdn.microsoft.com/en-us/library/ms235512%28v=VS.90%29.aspx
http://msdn.microsoft.com/en-us/library/aa376307.aspx
http://msdn.microsoft.com/en-us/library/aa374219.aspx
http://msdn.microsoft.com/en-us/library/aa374224.aspx