Quantcast
Channel: MATLAB Central Newsreader - tag:"ms sql"
Viewing all articles
Browse latest Browse all 15

Database toolkit connection problems

$
0
0
Hi all,

Having quite an annoying problem with the database toolkit which I am using for the first time. I have created a datasource and try connecting using the command database(‘testDB, ‘testDB’, ‘testDB_password’). However, this keeps returning the following error:

ans =
 
        Instance: 'testDB'
        UserName: 'testDB'
          Driver: []
    URL: []
     Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect]
         Message: '[Microsoft][ODBC Driver Manager] Invalid string or buffer length'
          Handle: 0
         TimeOut: []
      AutoCommit: 'off'
    Type: 'Database Object'

I can find nothing in reference to this error for the toolkit, does anyone have any ideas?

When I specify an incorrect password it returns with incorrect password dialog so I presume that a connection of some sort is being made. I am connecting using an ODBC user using SQL 2008 x64 and client running vista ultimate x64, anyone’s help or experience with this would be greatly appreciated as I have reached a bit of a dead end before I am even off the starting blocks!!

Many thanks,

J Healy

Viewing all articles
Browse latest Browse all 15

Trending Articles