I'm serving a Django app behind IIS6 web server.
The test server runs perfectly, but when running behind the web server a module failes to import I get this error:
Error loading pyodbc module: DLL load failed: The specified module could not be found
Just for the record the module is pyodbc
The site is served though isapi by using isapi-wsgi
Any ideas? It would really make my day! :)
This error is a PITA: it is often caused by missing symbols in dll (because a dependent dll was not found, etc...). You should check the .pyd with dependency walker, or look into the windows log which may log such errors depending on your configuration.