Hello,
I'm facing the following error "OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E. An unexpected exception occurred.", when I try to refresh the dataset in the Power BI Desktop.
Note :
1. It is working fine(refreshing) in the Query editor.
2. When I change the parameter to other environments, refresh is working fine.
Any ideas about what is going on and how to address this?
Thanks,
Naveen
Solved! Go to Solution.
Hi @NaveenMohan ,
According to your description, it seems you are using Power Query parameters on server name and database name. Please make sure the applied server name and database name are correct. You can refer the following blogs to change the data source dynamically using query parameters...
Change the Source of Power BI Datasets Dynamically Using Power Query Parameters
Parameterising Data Source to Connect to Different Servers and Different Databases
Best Regards
Hi @NaveenMohan ,
Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.
Best Regards
Hi @NaveenMohan ,
The following links are the threads which have the similar problem as yours, hope that their solutions can help you solve the problem.
0x80040E4E Error - OLE DB or ODBC --include the special characters which can't be identified correctly in the columns
OLE DB or ODBC error: Exception from HRESULT: 0x80040E1D | Power bi Refresh Error --The data type of column did not be set correctly
If the above ones can't help you, could you please provide the following information in order to make troubleshooting and give you a suitable solution? Thank you.
1. Connected data source
2. The used parameter value when get the error message
3. What did you do before got the error message?
Best Regards
Hi Rena,
1. Connected data source : SQL Server
2. The used parameter value when get the error message : SQL Server name and Database name
3. What did you do before got the error message? : It was working fine and some error in PBI service, Later I downloaded the report and checked for the above error.
Thanks in advance,
Naveen
Hi @NaveenMohan ,
According to your description, it seems you are using Power Query parameters on server name and database name. Please make sure the applied server name and database name are correct. You can refer the following blogs to change the data source dynamically using query parameters...
Change the Source of Power BI Datasets Dynamically Using Power Query Parameters
Parameterising Data Source to Connect to Different Servers and Different Databases
Best Regards
User | Count |
---|---|
224 | |
81 | |
81 | |
79 | |
51 |
User | Count |
---|---|
174 | |
93 | |
85 | |
82 | |
72 |