Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ETA
Frequent Visitor

Authentication to ODBC data source

Hi,

 

I am having issues adding an ODBC data source to my online gateway. The data connection works like a charm in Desktop, but I am not able to authenticate through the same "anonymous" option online, where I receive the error message "Failed to update data source credentials: ODBC: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".

 

By researching previous related posts, I have tried to change up the security levels, tested all the three authentication options, using basic authentication when uploading to the service etc, but so far no results. Other sources from the same ODBC admin tool works succesfully in the same gateway.

 

By tracing the ODBC Administration Tool, it does not seem like PowerBI is even trying to connect, as no trace is generated.

 

Any suggestions would be greatly appreciated.

 

Thanks.

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

Hi @ETA ,

Which data sources the report are connected to? Please check whether the gateway was installed in the same machine with the one which ODBC DSN exists. In addition, please review the following similar threads, hope they can resolve your problem.

Why am I getting “Data source name not found and no default driver specified” and how do I fix it?

Auto refresh

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver spec...

Database error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver sp...

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
v-yiruan-msft
Community Support
Community Support

Hi @ETA ,

Which data sources the report are connected to? Please check whether the gateway was installed in the same machine with the one which ODBC DSN exists. In addition, please review the following similar threads, hope they can resolve your problem.

Why am I getting “Data source name not found and no default driver specified” and how do I fix it?

Auto refresh

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver spec...

Database error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver sp...

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yiruan-msft thanks for your reply, I will go through your suggested threads and give you feedback on whether or not I found a solution within the next couple of days.

ETA
Frequent Visitor

Thanks again @v-yiruan-msft , I found a solution based on inspiration from the links you provided. The issue was a minor difference in the ODBC-setup on the two different machines I was using.

ETA
Frequent Visitor

Hi @aj1973 ,

 

Thanks for reaching out. The ODBC Driver is 64 bit. The entire setup is that we are connecting to a Data Lake through a JDBC-driver with a bridge to ODBC (from Openlink) in case that may be of relevance for the issue.

aj1973
Community Champion
Community Champion

I found this for you that might help

https://community.powerbi.com/t5/Service/Configure-Power-BI-Data-Gateway-to-Data-Lake-Gen-2/td-p/147...

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

ETA
Frequent Visitor

Thanks, but I don't believe that is relevant to our case, as we don't have access to the data lake directly. The data lake is part of our multitenant cloud ERP-solution, where we need to extract data through a jdbc driver

aj1973
Community Champion
Community Champion

Hi @ETA 

Is the ODBC driver a 64 bit or 32 bit? if 32 bit then that's the problem as Power Bi Gateway doesn't recognize it.

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors