djhenderson / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Error loading pyodbc module: DLL load failed: The specified module could not be found. #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by Paul...@gmail.com on 1 Jul 2011 at 2:30

GoogleCodeExporter commented 9 years ago
(This seems very similar to the issue I just filed-- #185.)

Original comment by wsad...@gmail.com on 4 Jul 2011 at 5:09

GoogleCodeExporter commented 9 years ago
Please see issue 214.

Original comment by alfr...@gmail.com on 6 Oct 2011 at 3:31