I have been using SQL passthru to connect to my SQL Server tables for quite a while with no problem. I have a connection string encryped in a table and use it decrypted to get the connection which is stored in a variable.
Since installing Office 2010 that same connection string does not work always returning -1.
I am able to access SQL Server through SSMS no problem. I can retrieve SQL table data into Excel, no problem, however anything that I have recompiled with the SQL passthru code fails to connect. I've checked the foxuser table, nothing there interfering.
So, has anyone else had this problem and found a solution? I'm thinking some DLL or driver has been overwritten or a path changed to it, but the Office installation added thousands of files to my machine and haven't been able to pin point it.
Since installing Office 2010 that same connection string does not work always returning -1.
I am able to access SQL Server through SSMS no problem. I can retrieve SQL table data into Excel, no problem, however anything that I have recompiled with the SQL passthru code fails to connect. I've checked the foxuser table, nothing there interfering.
So, has anyone else had this problem and found a solution? I'm thinking some DLL or driver has been overwritten or a path changed to it, but the Office installation added thousands of files to my machine and haven't been able to pin point it.