Forum Discussion
rraghvani
3 years agoChampion Level 3
If you're trying to access an Excel document, then should you not be using the connection string Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb) as opposed to using MS Access driver?
On your desktop, create a Text Document file, and change the file extension from .txt to .udl (Microsoft Data Link file). Double click the file, and Data Link Properties dialog will appear. Select your Provider and enter the appropriate details for Connection. If you Test Connection, you will see that it doesn't work. However, if you provide a MS Access file as your Data Source, and enter the login information for the DB. Test Connection will then work.
If you opend the .udl in Notepad, you'll see the actual connection string.
Related Content
- 5 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago