Hi. I am getting the error trying to connect to a SQL database from my VB.net Excel add-in.
This error hasn't come up in two years and has suddenly arisen after I installed Office 2013 alongside my existing Office 2007. The error happens at the fourth line of the following code:
Dim cn As New SqlConnection(oConnectionS
Dim adp As New SqlDataAdapter(SQLExpressi
Dim ds As New DataSet
adp.Fill(ds, "SystemData") 'Error at this line