Solved

Excel VBA Error connecting to Azure : [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Posted on 2016-11-15
2
61 Views
Last Modified: 2016-11-16
Hi

I have an Excel VBA project that connects to a SQL Azure database using the following type of connection string. This works fine on my dev machine but when I try and run it on another person's machine I get the error mentioned in the header. Where would I find the relevant driver to fix this issue. I only seemed to be able to find software that I would have to pay for.

strConn = "Driver={SQL Server Native Client 11.0};Server=tcp:lesedisa.database.windows.net,1433;Database=xxx;Uid=xxxxx;Pwd=xxxx;Encrypt=yes;TrustServerCertificate=no;Connection Timeout=30;"
0
Comment
Question by:murbro
2 Comments
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 41889336
This connection string requires SQL Server Native Client 2012 to be installed. Alternative drivers and more info at https://msdn.microsoft.com/en-us/library/cc280510.aspx. Possible connection strings can be seen at www.connectionstrings.com.
0
 

Author Closing Comment

by:murbro
ID: 41889359
Thank you very much
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question