cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
svalen
Responsive Resident
Responsive Resident

0x80040E4E Error - OLE DB or ODBC

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!

 

ErrorErrorFuntionFuntion

 

 

1 ACCEPTED SOLUTION
svalen
Responsive Resident
Responsive Resident

@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.

View solution in original post

18 REPLIES 18
dufu
Regular Visitor

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.

Anonymous
Not applicable

I solved this issue ,Re-install Oracle Client 

 

mkasprowicz
Frequent Visitor

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.

arslaan29
Frequent Visitor

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

v-qiuyu-msft
Community Support
Community Support

Hi @svalen,

 

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.

@v-qiuyu-msft  i am using the latest PBI november 2020 and still getting similar error (OLE DB or ODBC error: Exception from HRESULT: 0x80040E4E.Object refrence not set to an insatance) . any idea why its still an issue.

svalen
Responsive Resident
Responsive Resident

@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.

View solution in original post

Dear Svalen, 

Was your file a csv? I am facing the same issue with an excel file (error after grabbing data from a folder). Still nothing worked so if you have any idea? 

Hi, check your encoding in the Advanced Editor (first line I believe or by clicking source options in the next steps). 

Go to Data Source Settings

Choose Global Permissions and clean any permissions not used, include anyone not used in "Data source in current file".

 

image.png

It did work with my error too. I changed mine to Ariel. Thank you for posting this.

Which code do you refers to? This error is happening to me, can you help me please? How can I solve this?

svalen
Responsive Resident
Responsive Resident

@Gabrielna12

 

If you go to the advanced editor, if your problem is similar to mine, you'll probably see some strange characters with question marks or something.

 

On my case, it was the name of the columns on the excel source file that was not being read properly. On the query, on the first step (Source), click on the settings button and change the encoding to Western Europe or other that works.

 

If you can't do this tell me, I might be able to help.

anrema06
Frequent Visitor

I am having this Error, but I could refresh my data using query , 

image.pngTeh advanced editor seems to have nothing strange

Please Help

I had this error as well after duplicating a table via Google Analytics connector. My issue was that I renamed the table in 'Transform Data' mode which wouldn't reflect inside the Report view and it gave me the internal error OLE .... Be careful to rename it inside transform data, rather do it after successfully added and rename it in Report mode. I've been able to rename tables it in either mode, so its a bit odd to me in this case.

NWBI
Frequent Visitor

@svalen

 

Could you provide more detail on you roslution? When I go to the query page and click the settings button, where do I go to change the encoding? I don't see an apparant way of doing this when I am connected via ODBC.

 

Many Thanks!

svalen
Responsive Resident
Responsive Resident

Sorry but I don't work with ODBC now so I can't test.
But look further, try avoiding columns with special characters and see if you can spot the issue.
Sorry I can be of more help.
svalen
Responsive Resident
Responsive Resident

@v-qiuyu-msft

 

I updated and I still get an error, slightly different. I even copied the code to a new file and it didn't work.

 

I am stuck here, is there anything else I can do? How can I send you the file?

 

Thanks.

 

ErrorError

 

 

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.