Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I faced erroe while connecting to Sql server from Power BI. I faced error as below:
"An error happed while reading data from the provider: the type initializer for microsoft.data.sqlclient.sninativemethodwrapper threw an exception"
I recently updated SSMS and reboot it. Please assist me to resolve this issue as soon as possible.
Are there actual instructions to get around this somewhere? The git threads copy/pasted here by @amitchandak are just conversations with no clear solution which is more confusing than helpful.
I am having the same issue with all SQL connections since the Nov 2020 update, I did uninstall and relaod OCT 2020 version and the refresh works no problem, but since the files was saved under NOV 2020 and the model was "upgraded" i get many more errors, also can see the model view in OCT 2020 or save keep getting crash/unknown errors.
@Saurabh_Naik , refer these two, if they can help
https://github.com/dotnet/SqlClient/issues/468
https://github.com/dotnet/SqlClient/issues/361
or log an issue : https://community.powerbi.com/t5/Issues/idb-p/Issues
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |