<type 'exceptions.RuntimeError'>(Failure to connect, tried 5 times: Traceback (most recent call last): File "/usr/home/jose/web2py/gluon/dal.py", line 6754, in __init__ self._adapter = ADAPTERS[self._dbname](**kwargs) File "/usr/home/jose/web2py/gluon/dal.py", line 3034, in __init__ if do_connect: self.reconnect() File "/usr/home/jose/web2py/gluon/dal.py", line 582, in reconnect self.connection = f() File "/usr/home/jose/web2py/gluon/dal.py", line 3032, in connector return self.driver.connect(cnxn,**driver_args) Error: ('IM002', '[IM002] [unixODBC][Driver Manager]Data source name not found, and no default driver specified (0) (SQLDriverConnectW)') )So, is the issue closed?
Hi Jose,I'm now have the same error with you.and cannot connect to MSSQL server, I've read your self answer but can not understand.Can you help me?
db = DAL('mssql://usr1:pwd1@192.168.0.52/database_1')environment :- CentOS 6.4, Nginx, uWSGI- Python 2.7.6- Web2py 2.9.5Thanks,Tuan.
On Saturday, October 20, 2012 3:26:03 AM UTC+7, Jose wrote:
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/ISrawjvuWf0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.