WilliamRen / django-pyodbc

Automatically exported from code.google.com/p/django-pyodbc
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Data source name not found, no default driver specified #90

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. running manage.py syncdb,  or sql (appname) , or runserver
2.
3.

What is the expected output? What do you see instead?
pyodbc.Error: ('IM002', '[IM002] [iODBC][Driver Manager]Data source name not 
found and no default driver specified. Driver could not be loaded (0) 
(SQLDriverConnectW)')

What version of the product are you using? On what operating system?
mac 10.6.4
python 2.6.4
django 1.2.3
pyodbc 2.1.5
django-pyodbc latest svn

Please provide any additional information below.
i have this working on linux ,   however on the mac it won't even recognize the 
dsn.   verified the DSN is installed correctly as i am able to use the isql 
utility provided when freetds and unixODBC were installed.  with this,  i can 
connect and see plenty of output in ODBC log.   no log entries at all when 
using manage.py to start a server.  

Original issue reported on code.google.com by brennanj...@gmail.com on 12 Oct 2010 at 10:11

GoogleCodeExporter commented 8 years ago

Original comment by vcc.ch...@gmail.com on 24 Mar 2011 at 5:00