My favorites | Sign in
Project Home Downloads Wiki
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 187: Error loading pyodbc module: DLL load failed: The specified module could not be found.
5 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by Paul...@gmail.com, Jul 1, 2011
What steps will reproduce the problem?
1. Download/install pyodbc 2.1.8 Windows installer for Python 2.7
2. Install django-mssql
3. Configure settings.py with standard options as-per instructions
4. Attempt to view the website.

What is the expected output? What do you see instead?

Apache server 500 error, error log:

[Fri Jul 01 14:07:55 2011] [error] [client XX.XX.XX.XX]     raise ImproperlyConfigured("Error loading pyodbc module: %s" % e)
[Fri Jul 01 14:07:55 2011] [error] [client XX.XX.XX.XX] TemplateSyntaxError: Caught ImproperlyConfigured while rendering: Error loading pyodbc module: DLL load failed: The specified module could not be found.

What version of the product are you using? On what operating system?

- Windows Server 2008 x64
- Python 2.7 x86
- MS SQL Server 2008
- Django 1.3
- pyodbc 2.1.8 Windows installer for Python 2.7
- Latest django-mssql
- Apache 2.2

Please provide any additional information below.

I can run the python shell (c:\python) and import the pyodbc module fine, but when attempting to connect to my DB through django, I get the error noted above.
Jul 4, 2011
#1 wsad...@gmail.com
(This seems very similar to the issue I just filed-- #185.)
Oct 6, 2011
#2 alfr...@gmail.com
Please see issue 214.

Powered by Google Project Hosting