Open GoogleCodeExporter opened 9 years ago
I've installed Django/Python plus pyodbc & django-pyodbc on a Windows 2008 R2
machine, with IIS as the http server.
When I used SQLite3 as the database, the sample poll website worked fine.
I then changed the settings.py to access SQL Server instead, and a syncdb
created the tables. Python manage.py runserver worked with no problems, the
browser was able to access the site. However when I try using IIS its failing,
with the traceback saying:-
File "C:\python27\lib\site-packages\django\utils\importlib.py", line 35, in import_module
__import__(name)
File "C:\python27\lib\site-packages\sql_server\pyodbc\base.py", line 9, in <module>
raise ImproperlyConfigured("Error loading pyodbc module: %s" % e)
django.template.base.TemplateSyntaxError: Caught ImproperlyConfigured while
rendering: Error loading pyodbc module: No module named pyodbc
Am near the end of my tether trying to find an answer for this, if anyone can
help I'd much appreciate it.
Original comment by and...@codemonastery.com.au
on 21 Jun 2012 at 7:07
Original issue reported on code.google.com by
honyc...@gmail.com
on 26 Sep 2011 at 6:53