cancel
Showing results for 
Search instead for 
Did you mean: 

This server is not licensed to support 'ODBC' connections (-1261)

Former Member
3,923

A client is getting this error when trying to connect to a database on a SQL Anywhere 12 server using a SQL Anywhere 12 DSN. Any suggestions about what license the error message is referring to?

ndsr            fc-100  ENTER SQLAllocEnv 
        HENV *              14F6F5BC

ndsr            fc-100  EXIT  SQLAllocEnv  with return code 0 (SQL_SUCCESS)
    HENV *              0x14F6F5BC ( 0x01ae1788)

ndsr            fc-100  ENTER SQLAllocConnect 
    HENV                01AE1788
    HDBC *              0012DB98

ndsr            fc-100  EXIT  SQLAllocConnect  with return code 0 (SQL_SUCCESS)
    HENV                01AE1788
    HDBC *              0x0012DB98 ( 0x01ae1830)

ndsr            fc-100  ENTER SQLDriverConnectW 
    HDBC                01AE1830
    HWND                00080218
    WCHAR *             0x4BF77CD4 [      -3] "******\\ 0"
    SWORD                       -3 
    WCHAR *             0x4BF77CD4 
    SWORD                        2 
    SWORD *             0x00000000
    UWORD                        1 <SQL_DRIVER_COMPLETE>

ndsr            fc-100  EXIT  SQLDriverConnectW  with return code -1 (SQL_ERROR)
    HDBC                01AE1830
    HWND                00080218
    WCHAR *             0x4BF77CD4 [      -3] "******\\ 0"
    SWORD                       -3 
    WCHAR *             0x4BF77CD4 
    SWORD                        2 
    SWORD *             0x00000000
    UWORD                        1 <SQL_DRIVER_COMPLETE>

DIAG [S1000] [Sybase][ODBC Driver][SQL Anywhere]This server is not licensed to support 'ODBC' connections (-1261)

ndsr            fc-100  ENTER SQLErrorW 
    HENV                01AE1788
    HDBC                01AE1830
    HSTMT               00000000
    WCHAR *             0x0108ED2C (NYI) 
    SDWORD *            0x0012DB94
    WCHAR *             0x016A4878 
    SWORD                     1026 
    SWORD *             0x0012DBA2

ndsr            fc-100  EXIT  SQLErrorW  with return code 0 (SQL_SUCCESS)
    HENV                01AE1788
    HDBC                01AE1830
    HSTMT               00000000
    WCHAR *             0x0108ED2C (NYI) 
    SDWORD *            0x0012DB94 (-1261)
    WCHAR *             0x016A4878 [      92] "[Sybase][ODBC Driver][SQL Anywhere]This server is not licensed to support 'ODBC' connections"
    SWORD                     1026 
    SWORD *             0x0012DBA2 (92)

ndsr            fc-100  ENTER SQLFreeEnv 
    HENV                01AE1788

ndsr            fc-100  EXIT  SQLFreeEnv  with return code -1 (SQL_ERROR)
    HENV                01AE1788

    DIAG [S1010] [Microsoft][ODBC Driver Manager] Function sequence error (0)

Accepted Solutions (0)

Answers (1)

Answers (1)

Check this question out

The Web Edition does not allow ODBC connections.