sql server 2008 - Microsoft Access ODBC Connection Strings Limited to 255 Characters? -
microsoft access 2003 database (.mdb) containing linked table connects via odbc backend microsoft sql server 2008 table.
when enter design view linked table, view properties field, can see first 255 characters (specific fields replaced hyphens):
odbc;description=------------------------------------;driver=sql server;server=----;app=--------------------------------;wsid=---------;database=------------------;statslog_on=yes;statslogfile=--------------------------------------------------------------
when print dao field using vba immediate window (table name ommitted: "print currentdb.tabledefs("-----------").connect"), see prefix plus 254 characters (prefix "odbc;description=" plus 254 characters, plus, presumably, one-byte null character):
odbc;description=------------------------------------;driver=sql server;server=----;app=--------------------------------;wsid=---------;database=------------------;statslog_on=yes;statslogfile=------------------------------------------------------------------;trusted_co
how view entire text of odbc connection string?
we experience issue sql server server logs show error "login failed user "{user}". reason: not find login matching name provided. [client: {ip address}]"
i attempting confirm full string "trusted_connection=yes" part of stored string.
for testing purposes, create dsn , create link based on dsn. (my assumption here referencing dsn in connection string result in shorter connect property linked tabledef.) allow trusted_connection property working? if so, maybe best course find way shorten connection string.
if helps, apparently trusted_connection not have last element in sql server connection string. here's 1 working me, albeit sql server 2005:
odbc;dsn=vm2003;trusted_connection=yes;app=microsoft office 2003;wsid=win7;database=inventory
sorry, don't know if these suggestions useful you. new ground me; i've never encountered such long connection string.
Comments
Post a Comment