-
All forum topics -
Previous Topic -
Next Topic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2017
08:48 AM
Hello all.
I have this strange error. I say strange because I can refresh the data on the Query Editor but I can’t connect it to the model when I do «Apply». I get the 0x80040E4E error and I have literally no idea why. I just know it started occuring after I grabbed data from a folder and I created a function to get the filename in a column.
Any thoughts?
Thanks in advance!
Error
Funtion
Message 1 of 31
328,664 Views
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2017
06:32 AM
@v-qiuyu-msft
After messing around with the file, I solved it. It has to do with character support, as I had cubic and degree sign on the code and it was read as «?». I changed the encoding to Western Europe and it is solved. But it was not intuitive, as the error code did not point to this. Anyway, I hope this may help someone with the same problem.
Thanks for your support.
Message 4 of 31
340,008 Views
-
All forum topics -
Previous Topic -
Next Topic
30 REPLIES 30
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2022
08:10 AM
I’m pulling from a Dataflow and getting this same error and the same vaguely helpful error message.
Would be excellent if the error identified the fields in question.
Whatever is going wrong here is also not being caught by Table.RemoveRowsWithErrors() either.
Message 31 of 31
76,038 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2022
08:40 AM
I had the same issue, i had duplicated a table iun power query and this issue poppedup.
It worked for me when i cleared everything in the duplicated table advanced editor and replaced the content from first table(which i duplicated from), then it worked.
Hope this helps.
Message 30 of 31
88,133 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022
06:22 PM
I followed these steps
Step 1: Go to the Model section from the left side of the Power BI Desktop
Step 2: Delete all the relationships amongst the tables that have been created by Power BI itself while you were working with the Power Query Editor
Step 3: Click ‘Refresh visual and data’ option in Home (besides the Transform Data button)
It worked and loaded the new data and also applied the automations done in the query editor.
Message 24 of 31
106,809 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022
10:42 AM
This worked for us as well. In addition to the OLE ODBC error we were getting a note about not being able to find data sources we had deleted months ago and were not mentioned anywhere in the model. Thanks!
Message 28 of 31
71,990 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2021
01:15 PM
Hey there, I ended up through a naive search on the same issue. The ‘Solution’ post gave me the right indication. It turned out be cause by the filename of the csv files, I was collecting from a sharepoint. Renaming the files, using alphanumeric characters only, solved it for me.
Message 23 of 31
196,817 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2019
11:43 PM
Hi,
I came across a similar problem but its source was duplicate data on a column that created a relationship with a different table. Even worse, he didn’t appear on the table causing the error.
Message 21 of 31
211,414 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2017
10:47 PM
I am trying to get data from Google Analytics to Power Bi but for page and page views field I am getting ‘ failed to save modifications to the sever . Error returned: ‘OLE DB or ODBC error: [DataSource.Error] There was an internal error.. ;. Can you please help me with this issue
Message 20 of 31
325,932 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2017
11:03 PM
Hi @Anonymous,
It seems that the error throws out when you apply the changes, right? In your scenario, please try to update the desktop to the version 2.42.4611.901 released in 1/20/2017.
If issue persists, please try to share the sample folder data source and sample .pbix file to reproduce the issue if possible.
Best Regards,
Qiuyun Yu
Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Message 2 of 31
327,950 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2017
06:32 AM
@v-qiuyu-msft
After messing around with the file, I solved it. It has to do with character support, as I had cubic and degree sign on the code and it was read as «?». I changed the encoding to Western Europe and it is solved. But it was not intuitive, as the error code did not point to this. Anyway, I hope this may help someone with the same problem.
Thanks for your support.
Message 4 of 31
340,009 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022
02:23 AM
I don’t understand this solution but have a similar problem. One of my errors is
So no mention of any column. And by the way there are no data type changes in the query editor.
Do you have any ideas how to fix? I may post this in a few places.
Thanks
Rob
Message 17 of 31
66,831 Views
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Assignees
Comments
Getting the above error when connecting my org URL with power BI desktop
Error.txt
Error-Session Diag.txt
Link for reference: COE Starter Kit on Github — powerapps-tools/Administration/CoEStarterKit at master · microsoft/powerapps-tools · GitHub
Hello,
can you confirm you only have one row in your CoE Settings table? It sounds like the issue is based on that, as the relationship in Power BI expects that table to only have one row.
Thank you
Manuela
Would you be able to please try something following the steps below?
- Select Cancel on the load and the Power BI should open (without values)
- Under Modeling select Manage Relationships
- Look for the Environments — CoE Settings relationship and delete that one
- Once you Save and Close that dialog, the re-load should start and work fine now.
It looks like Power BI auto-detected an unnecessary relationship between CoE Settings and Environment (this is not required) which could be causing this issue. I verified in my tenant that the dashboard still worked after removing the relationship, but if you could try and see if that also removes your error that would be great — and then we can include this change the next time we ship the dashboard.
Hello,
sorry the images don’t come through if you reply to the GitHub issue via email — could you go directly to GitHub and paste the images in again?
Thank you
Manuela
Apologies for the delayed response
Attached are the new set of errors…
Can you please share a screenshot (you will have to paste from within GitHub) of your CoE Settings data?
In your CoE environment > Data >Tables > All > Search for Settings > Select the CoE Settings to open it in edit
Select Data > Change the View to All Columns
And then share this view
Hello,
and could you do the same for the Environment and Apps table which seem to be blocking the Power BI too.
above image is for query as below
In your CoE environment > Data >Tables > All > Search for Settings > Select the CoE Settings to open it in edit
Select Data > Change the View to All Columns
And then share this view
Thank you for providing this!
- In your CoE Settings table you have two rows — can you delete both of those rows and add just one new one?
- It looks like you don’t have data in your tables yet — can you confirm you have turned on the Admin | Sync Flow v3 and that is running successfully? This is populating the App, Environment and Flow tables the Power BI is based on.
Thank you
Manuela
there were two instances here.
With the help of Valentina was able to remove the error , hit refresh now i have only blank table with no data in them
now I see data populating
You’re on a drillthrough screen that only shows data when something is selected from a previous screen. Are all of your pages empty? Can you perhaps go to the Overview — Power Apps page in the dashboard and see if that is empty as well?
The Cloud Flow Details page will be empty unless a cloud flow is selected — on some of the overview and inventory pages you can right click in the table and select Drillthrough > Cloud Flow Detail
Thanks .. i see information in the overview page.. will check on the drill down and update back
Great thank you for confirming!
One way of getting to that page is going to the Cloud Flow Archive page and selecting a flow, right clicking on it and selecting Drillthrough > Cloud flow detail and that should then show you details about an individual flow.
Closing out issues with no further action.
- Remove From My Forums
-
Question
-
I have set up my power bi to work from an excel spreadsheet when I try to refresh I get this error.
OLE DB or ODBC error : exception from HRESULT: 0x80040E4E
It use to refresh no problem but since I have upgraded power bi desktop it seems not to work at all.
Answers
-
Hi RawlinsonJ,
I am not able to reproduce your scenario. Would you mind sharing me your excel file and PBIX file for test?
Please check that if the connection string is changed in Advanced Editor of Query Editor after refreshing data. Change excel file path, re-add the connection string in Advanced Editor and refresh data and check if the error goes away.
Here is similar error message for reference.
Best regards,
Angelia
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.-
Edited by
Tuesday, December 13, 2016 5:35 AM
-
Proposed as answer by
Ed Price — MSFTMicrosoft employee
Friday, December 16, 2016 5:33 AM -
Marked as answer by
Ed Price — MSFTMicrosoft employee
Tuesday, January 3, 2017 11:05 PM
-
Edited by
Содержание
- Ole db or odbc error exception from hresult 0x80040e4e
- Answered by:
- Question
- Answers
- OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E #797
- Comments
- Footer
- OLE DB or ODBC error by getting data #41
- Comments
Ole db or odbc error exception from hresult 0x80040e4e
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Answered by:
Question
I have set up my power bi to work from an excel spreadsheet when I try to refresh I get this error.
OLE DB or ODBC error : exception from HRESULT: 0x80040E4E
It use to refresh no problem but since I have upgraded power bi desktop it seems not to work at all.
Answers
I am not able to reproduce your scenario. Would you mind sharing me your excel file and PBIX file for test?
Please check that if the connection string is changed in Advanced Editor of Query Editor after refreshing data. Change excel file path, re-add the connection string in Advanced Editor and refresh data and check if the error goes away. Here is similar error message for reference.
Источник
OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E #797
Getting the above error when connecting my org URL with power BI desktop
Error.txt
Error-Session Diag.txt
Link for reference: COE Starter Kit on Github — powerapps-tools/Administration/CoEStarterKit at master · microsoft/powerapps-tools · GitHub
The text was updated successfully, but these errors were encountered:
can you confirm you only have one row in your CoE Settings table? It sounds like the issue is based on that, as the relationship in Power BI expects that table to only have one row.
Thank you
Manuela
Cc: Rakesh Rout ; Author Subject: [External]Re: [microsoft/powerapps-tools] OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E (#797) Hello, can you confirm you only have one row in your CoE Settings table? It sounds like the issue is based on that, as the relationship in Power BI expects that table to only have one row. Thank you Manuela — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or unsubscribe .
Would you be able to please try something following the steps below?
- Select Cancel on the load and the Power BI should open (without values)
- Under Modeling select Manage Relationships
- Look for the Environments — CoE Settings relationship and delete that one
- Once you Save and Close that dialog, the re-load should start and work fine now.
It looks like Power BI auto-detected an unnecessary relationship between CoE Settings and Environment (this is not required) which could be causing this issue. I verified in my tenant that the dashboard still worked after removing the relationship, but if you could try and see if that also removes your error that would be great — and then we can include this change the next time we ship the dashboard.
Cc: Rakesh Rout ; Author Subject: [External]Re: [microsoft/powerapps-tools] OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E (#797) Would you be able to please try something following the steps below? 1. Select Cancel on the load and the Power BI should open (without values) 2. Under Modeling select Manage Relationships [image] 3. Look for the Environments — CoE Settings relationship and delete that one [image] 4. Once you Save and Close that dialog, the re-load should start and work fine now. It looks like Power BI auto-detected an unnecessary relationship between CoE Settings and Environment (this is not required) which could be causing this issue. I verified in my tenant that the dashboard still worked after removing the relationship, but if you could try and see if that also removes your error that would be great — and then we can include this change the next time we ship the dashboard. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or unsubscribe .
sorry the images don’t come through if you reply to the GitHub issue via email — could you go directly to GitHub and paste the images in again?
Thank you
Manuela
Apologies for the delayed response
Attached are the new set of errors.
Cc: Rakesh Rout ; Author Subject: [External]Re: [microsoft/powerapps-tools] OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E (#797) Hello, sorry the images don’t come through if you reply to the GitHub issue via email — could you go directly to GitHub and paste the images in again? Thank you Manuela — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub , or unsubscribe .
Can you please share a screenshot (you will have to paste from within GitHub) of your CoE Settings data?
In your CoE environment > Data >Tables > All > Search for Settings > Select the CoE Settings to open it in edit
Select Data > Change the View to All Columns
And then share this view
and could you do the same for the Environment and Apps table which seem to be blocking the Power BI too.
above image is for query as below
In your CoE environment > Data >Tables > All > Search for Settings > Select the CoE Settings to open it in edit
Select Data > Change the View to All Columns
And then share this view
Thank you for providing this!
- In your CoE Settings table you have two rows — can you delete both of those rows and add just one new one?
- It looks like you don’t have data in your tables yet — can you confirm you have turned on the Admin | Sync Flow v3 and that is running successfully? This is populating the App, Environment and Flow tables the Power BI is based on.
Thank you
Manuela
there were two instances here.
With the help of Valentina was able to remove the error , hit refresh now i have only blank table with no data in them
now I see data populating
You’re on a drillthrough screen that only shows data when something is selected from a previous screen. Are all of your pages empty? Can you perhaps go to the Overview — Power Apps page in the dashboard and see if that is empty as well?
The Cloud Flow Details page will be empty unless a cloud flow is selected — on some of the overview and inventory pages you can right click in the table and select Drillthrough > Cloud Flow Detail
Thanks .. i see information in the overview page.. will check on the drill down and update back
Great thank you for confirming!
One way of getting to that page is going to the Cloud Flow Archive page and selecting a flow, right clicking on it and selecting Drillthrough > Cloud flow detail and that should then show you details about an individual flow.
Closing out issues with no further action.
© 2023 GitHub, Inc.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Источник
OLE DB or ODBC error by getting data #41
We’re trying to run the CCO Report.
Every time we run the data collection, it ends in the following error:
OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E
We tried all the issue fixes and went to all fixed in the Troubleshooting Guide but nothing helped.
The text was updated successfully, but these errors were encountered:
Only one error is expected on the first run if all the configuration is properly set because Power BI is not asking for the graph API authentication and is simply fixed by refreshing the dashboard after the first run…
I tried to refresh, same issue, ODBC error. After I did a cleanup in the Datasource Credentials before I refresh, the following «error» shows up every time
and the PowerBI crashes.
Can you check the privacy level?
Can you check the URL? just to see which resource provider fails
I didn’t change the settings here. I only add my credentials.
Are you using an outlook or a hotmail account? because graph API doesn’t work with this type of accounts
I’m using my Azure AD account. We also tried an account without MFA protection, same result. Is. there anything In regards of Azure «restrictions» we need to check or change?
There’re no restrictions and MFA is not a problem.
There’s any way to contact you directly and make a remote session to see directly what’s happening?
Sorry for my delay, I was out of office for a few days.
Yes, this would be nice, if you have the time I would like to do a remote session.
How should we organize?
Send an email to jordi.sune@microsoft.com and confirm me your availability 🙂
@adminph-de I have an idea about what is happening, it’s something related with the error control in Power BI, you have to enter to edit queries and check after every API Call the results. If you have errors and you don’t have a step named remove errors at the applied steps section, the load of all data will fail.
I’ll review all the API calls to insert the error control step to avoid this problems. And to clarify we’re not losing data, we don’t have access to request the data with our access level 🙂
Источник
На чтение 3 мин Обновлено 4 ноября, 2022
Содержание
- OLE DB or ODBC error by getting data #41
- Comments
- adminph-de commented Aug 6, 2019
- josunefon commented Aug 6, 2019
- adminph-de commented Aug 6, 2019
- josunefon commented Aug 6, 2019
- adminph-de commented Aug 6, 2019
- josunefon commented Aug 6, 2019
- adminph-de commented Aug 6, 2019
- josunefon commented Aug 6, 2019
- adminph-de commented Aug 7, 2019
- josunefon commented Aug 8, 2019
- adminph-de commented Aug 12, 2019
- josunefon commented Aug 14, 2019
- josunefon commented Aug 22, 2019
OLE DB or ODBC error by getting data #41
We’re trying to run the CCO Report.
Every time we run the data collection, it ends in the following error:
OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E
We tried all the issue fixes and went to all fixed in the Troubleshooting Guide but nothing helped.
The text was updated successfully, but these errors were encountered:
Only one error is expected on the first run if all the configuration is properly set because Power BI is not asking for the graph API authentication and is simply fixed by refreshing the dashboard after the first run…
I tried to refresh, same issue, ODBC error. After I did a cleanup in the Datasource Credentials before I refresh, the following «error» shows up every time
and the PowerBI crashes.
Can you check the privacy level?
Can you check the URL? just to see which resource provider fails
I didn’t change the settings here. I only add my credentials.
Are you using an outlook or a hotmail account? because graph API doesn’t work with this type of accounts
I’m using my Azure AD account. We also tried an account without MFA protection, same result. Is. there anything In regards of Azure «restrictions» we need to check or change?
There’re no restrictions and MFA is not a problem.
There’s any way to contact you directly and make a remote session to see directly what’s happening?
Sorry for my delay, I was out of office for a few days.
Yes, this would be nice, if you have the time I would like to do a remote session.
How should we organize?
Send an email to jordi.sune@microsoft.com and confirm me your availability 🙂
@adminph-de I have an idea about what is happening, it’s something related with the error control in Power BI, you have to enter to edit queries and check after every API Call the results. If you have errors and you don’t have a step named remove errors at the applied steps section, the load of all data will fail.
I’ll review all the API calls to insert the error control step to avoid this problems. And to clarify we’re not losing data, we don’t have access to request the data with our access level 🙂
Источник
Добрый день! При обновлении запросов в декстопной версии возникает
«Ошибка ole db или odbc: исключение из hresult: 0x80040e4e». В PQ все чисто, в таблице всего 200+ строк, так что глазами просмотрела — ошибок нет. Что пробовала делать: удаляла связи с другими таблицами (не работает), вставляла запрос в другой файл (работает, но переносить из-за этого все остальное в новый файл не вариант), удаляла запрос и вставляла его снова в старый файл (не работает). Других вариантов не нашла. Может быть кто-то еще что-то применял?
russian
pbi
8
ответов
Elena Makhorina
К xlsx в шеирпоинте
Точно xlsx, а не xlsb/xls?
Elena Makhorina
Да, поэтому и уточнила)
Пробовали сохранить как .pbit шаблон, а потом открыть шаблон и залить в него данные?
Elena Makhorina
Да, поэтому и уточнила)
Вам нужно скачать драйвер oledbc
Мария Гришина
Вам нужно скачать драйвер oledbc
Гугл такого не знает 🤷♀️
Открой эксель, нажми на кнопку сохранить и закрой. Попробуй так