cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jagrutijoshi
Frequent Visitor

ODBC Error: Data source name not found and no default driver specified

Hi,

 

I have created a Power BI Report using a MongoDB data source. I've used the following ODBC connector to connect MongoDB to Power BI http://www.cdata.com/drivers/mongodb/odbc/

 

When I publish my report online and try to schedule refresh using my personal gateway, the following error occurs in the data source credentials: ODBC: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

 

I'm sure that the data source name and driver are specified correctly. Could there be any another reason for this error? 

 

1 ACCEPTED SOLUTION

Hi @jagrutijoshi,

You would also need to add all the CSV data sources under registered on-premises gateway, this way, you would be able to use on-premises gateway to refresh your dataset.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
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

12 REPLIES 12
Mokshi
Helper I
Helper I

@jagrutijoshi  I've also created a Power BI Report using a MongoDB data source through ODBC connector and I'm trying to create a dynamic data source with parameters can you pls explain

 

ravikedia
New Member

Hi,

 

There is a ready connector available for Tally which can import all data from Tally at pre-defined interval. You may connect on contact@easyreports.in for further details.

 

Regards,

Ravi

ravikedia
New Member

Hi,

 

There is a ready connector available for Tally which can import all data from Tally at pre-defined interval. You may connect on contact@easyreports.in for further details.

 

Regards,

Ravi

v-yuezhe-msft
Microsoft
Microsoft

Hi @jagrutijoshi,

 

Do you install 32 bit or 64 bit ODBC connector ? And do you create system DSN for MongoDB following the guide in this blog?

Could you please install on-premises gateway and add the ODBC data source under the registered gateway, then check if you can set schedule refresh for your dataset?


Thanks,
Lydia Zhang

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

I have installed 64-bit OBDC connector with proper DSN. On-premises gateway is disabled while we connect via ODBC driver. 

Hi @jagrutijoshi,

Have you added the ODBC data source under registered on-premises gateway?

Thanks,
Lydia Zhang

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

When we load the data in Power BI online via ODBC connector, the on-premises gateway appears disabled. It seems like that functionality is disabled. 

Hi @jagrutijoshi,

Could you please post a screenshot about your sceanrio? You can check this similar thread about how to add ODBC data source under gateway.

Thanks,

Lydia Zhang

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

pb.PNGThis is what it is showing even though the data source have been connected properly with the gateway.Please refer below for the same:pb2.PNG

 

 

 

 

 

 

 

Hi @jagrutijoshi,

Have you included other data source except the ODBC data source in your dataset? Could you please post a screenshot about data sources in your PBIX file?  You can go to File -> Options and settings ->Data source settings to check data sources for Power BI Desktop.

Thanks,
Lydia Zhang

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

We have 3 csv files as well.

Hi @jagrutijoshi,

You would also need to add all the CSV data sources under registered on-premises gateway, this way, you would be able to use on-premises gateway to refresh your dataset.

Thanks,
Lydia Zhang

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

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors