Hi!!!
I get this message when try to connect at sybase (ASE)
Ticket ID
127.0.0.1.2018-11-02.16-39-39.0e1ecf1e-e9a8-4950-893f-e3c2b7a98b0b
<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times:
Traceback (most recent call last):
File "c:\web2py\gluon\packages\dal\pydal\base.py", line 455, in __init__
self._adapter = adapter(**kwargs)
File "c:\web2py\gluon\packages\dal\pydal\adapters\__init__.py", line 40, in
__call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs)
File "c:\web2py\gluon\packages\dal\pydal\adapters\mssql.py", line 31, in
__init__ driver_args, adapter_args, do_connect, after_connection)
File "c:\web2py\gluon\packages\dal\pydal\adapters\base.py", line 369, in
__init__ super(SQLAdapter, self).__init__(*args, **kwargs)
File "c:\web2py\gluon\packages\dal\pydal\adapters\base.py", line 53, in
__init__ self.reconnect()
File "c:\web2py\gluon\packages\dal\pydal\connection.py", line 152, in
reconnect self.connection = self.connector()
File "c:\web2py\gluon\packages\dal\pydal\adapters\mssql.py", line 184, in
connector return self.driver.connect(self.dsn, **self.driver_args)
Error: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name
not found and
no default driver specified (0) (SQLDriverConnect)')
Version
web2py™ Version 2.17.2-stable+timestamp.2018.10.06.18.54.02
I made this test using:
db =
DAL('sybase://myuser:Pa$$w0rd@myserver/mydatabase',check_reserved=['all'])
db =
DAL('sybase://myuser:Pa$$w0rd@myserver:5000/mydatabase',check_reserved=['all'])
db = DAL('sybase://myuser:Pa$$w0rd@<ip>/mydatabase',check_reserved=['all'])
db =
DAL('sybase://myuser:Pa$$w0rd@<ip>:5000/mydatabase',check_reserved=['all'])
But in all case web2py show the same message. What is the problem?.
Thanks in advance.
--
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 the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.