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
adrianohg
Regular Visitor

ODBC: ERROR [IM002] [Microsoft][ODBC Driver Manager] - Gateway

Hi,

 

I use PowerBI Desktop to connect on my database MySQL with drive ODBC, that´s ok.

 

When configure gateway to connect the data set, I have this error:

 

Falha na última atualização: Wed Sep 23 2020 11:04:06 GMT-0300 (Horário Padrão de Brasília)
Erro durante o processamento de dados no conjunto de dados.Ocultar detalhes
Erro de fonte de dados: {"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"ODBC: ERROR [IM002] [Microsoft][ODBC Driver Manager] Nome da fonte de dados não encontrado e nenhum driver padrão especificado"}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"Odbc"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"dsn=wamp.codesa.local"}},{"code":"Microsoft.Data.Mashup.ValueError.OdbcErrors","detail":{"type":1,"value":"#table({\"SQLState\", \"NativeError\", \"Message\"}, {})"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.Error"}}],"exceptionCulprit":1}}} Table: rel_categoria_cat_consad.
Cluster URI: WABI-BRAZIL-SOUTH-redirect.analysis.windows.net
ID da atividade: 38440beb-fc88-4d32-bafc-2f67477b3910
Solicitar ID: b15e377b-c0a2-f2a4-a838-49f6d84b2395
Hora: 2020-09-23 14:04:06Z

 


Nome da Fonte de Dados/name: odbc_wamp

This is my gateway configuration:

Tipo da Fonte de Dados/type: ODBC
Cadeia de conexão/connection: dsn=wamp.codesa.local

Método de Autenticação/authentication: basic

 

Att,

Adriano Hantequeste Gomes

CODESA/CODFOR

1 ACCEPTED SOLUTION

Hi,

 

I found solution.

 

I change gateway from my pesonal computer to my server (mysql) and configure the odbc on this server on System DNS.

 

system odbc.PNG

View solution in original post

8 REPLIES 8
GilbertQ
Super User
Super User

Hi there

Can you confirm you have installed and configured the 64bit version of the ODBC driver on your Gateway server?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi,

 

Yes, a use my desktop with gateway and my odbc drive is 64bits.

 

I try manual configure my gateway with this dataset:

 

Driver={MySQL ODBC 8.0 Unicode Driver};Server=wamp.codesa.local;Database=codforv2

 

It's woks, but i can't liking this gateway with my project. The only gateway display is dataset dsn=wamp.codesa.local

 

Att,

Adriano

This is how I have got my ODBC Driver set up

"driver=Simba Athena ODBC Driver;dsn=Simba Athena; data source=AwsDataCatalog"




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi,

 

This is my ODBC drivers list:

 

odbc drives.PNG

 

This is detail of my connection, test ok!

 

odbc mysql ok.PNG

 

This is my project on PowerBI:

 

powerbi project.png

 

This is gateway configuration in the project:

 

 

odbc on powerbi.PNG

 

This is my list of clusters gateways. The "odbc_wamp" connection unsuccessful

 

gateway error.PNG

 

 

I create this cluster gateway, with successful connection. But i can't associate this cluster with my project, because only accept the datacluster with "dsn=wamp.codesa.local" the same off my PowerBI project.

gateway ok.PNG

 

Att,

Adriano Hantequeste Gomes

Ahh can you make sure that all the Gateway servers have got the ODBC driver installed and configured.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

The gateway server is my personal computer. The same computer use the PowerBI Desktop.

Hi  @adrianohg ,

 

Check the similar thread below:

https://community.powerbi.com/t5/Power-Query/Add-odbc-data-source-to-On-Premises-Gateway-throws-IM00...

 



Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Hi,

 

I found solution.

 

I change gateway from my pesonal computer to my server (mysql) and configure the odbc on this server on System DNS.

 

system odbc.PNG

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 Solution Authors
Top Kudoed Authors