pyodbc under IIS gives "DLL Load Failed" fixed (for 3.0.3)

69 views
Skip to first unread message

Randy Syring

unread,
Jan 18, 2012, 11:16:37 AM1/18/12
to pyodbc
I have also compiled a 3.0.3 version if anyone is interested:

http://dl.dropbox.com/u/719478/pyodbc-3.0.3.win32-py2.7-IIS.exe

---------- Forwarded message ----------
From: Randy Syring <rsyr...@gmail.com>
Date: Feb 11 2011, 4:26 am
Subject: pyodbc under IIS gives "DLL Load Failed" fixed
To: pyodbc

I recently tried to upgrade a web application from Python 2.5 to 2.7.
I am running it under IIS using isapi-wsgi and I was getting errors
when pyodbc was imported. After lots of troubleshooting, I came
across this thread:

http://groups.google.com/group/isapi_wsgi-dev/browse_thread/thread/3fa2b485ec2281d

Which lead me to patch msvc9compiler.py and re-compile pyodbc for:

Python 2.6: http://dl.dropbox.com/u/719478/pyodbc-2.1.8.win32-py2.6-IIS.exe
Python 2.7: http://dl.dropbox.com/u/719478/pyodbc-2.1.8.win32-py2.7-IIS.exe

and that solved my problem. Hope it saves someone else a long night.
Reply all
Reply to author
Forward
0 new messages