R
Ross Culver
I've been meaning to ask this question for years (literally).
In the Excel reports that I create for others in the company, I almost exclusively use external data via MS Query from SQL databases. I always use a system ODBC connection created not within Excel, but within the ODBC administrator. In many cases I'll use the SA login and password for the connection and in some cases, I'll use a trusted connection/integrated security; but I always check the 'Save Password' box in the Data Range Properties.
Here's the problem: sometimes, in fact more often than not, when one of these spreadsheets is opened by someone else on another computer with different credentials, I get the error: Microsoft ODBC Drive Manager: Data Source Name not found and No Default Driver Specified; even though I've manually created an ODBC connection on that computer identical to the one on my computer.
Can someone tell me why? Given this scenario, is there a difference between using a file, user or system odbc connection? Does the connection have to be created from within Excel during the Get External Data process?
One other note. With the example I encountered today, I did not get the error when I opened the same file on a server logged in as the domain administrator, but I did get the error on every other computer I tried to refresh from, except, of course, my own.
Thanks,
Ross
In the Excel reports that I create for others in the company, I almost exclusively use external data via MS Query from SQL databases. I always use a system ODBC connection created not within Excel, but within the ODBC administrator. In many cases I'll use the SA login and password for the connection and in some cases, I'll use a trusted connection/integrated security; but I always check the 'Save Password' box in the Data Range Properties.
Here's the problem: sometimes, in fact more often than not, when one of these spreadsheets is opened by someone else on another computer with different credentials, I get the error: Microsoft ODBC Drive Manager: Data Source Name not found and No Default Driver Specified; even though I've manually created an ODBC connection on that computer identical to the one on my computer.
Can someone tell me why? Given this scenario, is there a difference between using a file, user or system odbc connection? Does the connection have to be created from within Excel during the Get External Data process?
One other note. With the example I encountered today, I did not get the error when I opened the same file on a server logged in as the domain administrator, but I did get the error on every other computer I tried to refresh from, except, of course, my own.
Thanks,
Ross