Ive tried a couple techniques to create a linked server on the fly to a MAS90 database but all of them seem to hang (waiting for you to choose the company/login Im guessing)
I am able to create a linked server to a DSN that has the login information inside of it, but when I create one with a full connection string it doesnt work:
SELECT *
FROM OPENDATASOURCE(
'MSDASQL',
'DSN=SOTAMAS90;Company=I00;UID=7AB|I00;PWD=;Directory=\\HoRNE2\MAS200\MAS90;'
)...GL5_DetailPosting
OLE DB provider "MSDASQL" for linked server "(null)" returned an invalid index definition for table "GL5_DetailPosting".
Any other methods just seem to hang endlessly..as I said before I think its probly prompting for the login info in a window thats hidden.
Has anyone got this to work?
I am able to create a linked server to a DSN that has the login information inside of it, but when I create one with a full connection string it doesnt work:
SELECT *
FROM OPENDATASOURCE(
'MSDASQL',
'DSN=SOTAMAS90;Company=I00;UID=7AB|I00;PWD=;Directory=\\HoRNE2\MAS200\MAS90;'
)...GL5_DetailPosting
OLE DB provider "MSDASQL" for linked server "(null)" returned an invalid index definition for table "GL5_DetailPosting".
Any other methods just seem to hang endlessly..as I said before I think its probly prompting for the login info in a window thats hidden.
Has anyone got this to work?