Hey, I resolved this issue follow: 1. Setup pyodbc-3.0.7.win32-py2.7.exe (download from http://code.google.com/p/pyodbc/downloads/list) 2. Insert to the db.py file:
*import pyodbc from gluon.dal import MSSQLAdapterif not (MSSQLAdapter.driver): MSSQLAdapter.driver = globals().get('pyodbc',None)* And everything is okay. Thanks! *(^_^)* Vào 00:21:28 UTC+7 Thứ sáu, ngày 27 tháng mười hai năm 2013, Alan Etkin đã viết: > > This error is produced when the controller files execute a query string, >> example db(db.usr).select() or db(db.usr).count(). It does not always occur >> but frequently occur! >> > > Have you checked <app>/databases/sql.log? > > Maybe you can post the last commands stored for debugging. > > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.