Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Installed PowerBI desktop (x64) (clean install) last week (didn't note the version installed) and played around with local data file sources, all ok.
Today I attempted to connect to a SQL database on Azure VM and received the following message;
Details: "An error happened while reading data from the provider: 'The type initializer for 'Microsoft.Data.SqlClient.SNINativeMethodWrapper' threw an exception.'"
Upgraded to the latest version Version: 2.87.923.0 64-bit (November 2020) as a previous post suggested that this may fix the fault.
Retried the connection, same result.
Perused the various documents in C:\Users\#username#\AppData\Local\Microsoft\Power BI Desktop, traces,snapshots,performance traces, can't see anything obvious. I can't find a stack trace, although I have seen similar reports in Github earlier this year.
Can't find SNI.dll on my machine, do I have to install Microsoft.Data.SqlClient Nuget package?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.