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)

asked 26 Aug '11, 15:28

GordonWeil's gravatar image

GordonWeil
16113
accept rate: 0%

edited 15 Mar '13, 22:04

Mark%20Culp's gravatar image

Mark Culp
24.9k10141297


Check this question out

The Web Edition does not allow ODBC connections.

permanent link

answered 26 Aug '11, 16:02

Siger%20Matt's gravatar image

Siger Matt
3.3k5672101
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×438
×145
×64
×10

question asked: 26 Aug '11, 15:28

question was seen: 3,488 times

last updated: 15 Mar '13, 22:04