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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
DMC_PBI
Frequent Visitor

ODBC connection error IM002 on report server

Hi,

We are running Power BI Report server Version 1.11.7815.26414 (May 2021) on a server with a 64-bit operating system.

 

I'm tyring to create an ODBC data source on the Report Server to run a paginated report that uses a MySql database.

The paginated report is created in visual studio and uses an ODBC connection with the following connection string:
Driver=MySQL ODBC 8.0 Unicode Driver;server=10.0.0.123;database=machforms

 

When I create the connection on the report server I receive the error:
Couldn't connect
The report server couldn't connect to the data source using the information you entered. Make sure you've entered the connection string and any credentials correctly.

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


The server running the report server has the 32-bit and 64-bit MySql ODBC 8.0 Unicode drivers installed. A system DSN has beed created for each drive and the connection test is successful.

 

I have tried multiple connection strings in the data source including the one above and the dsn but continue to receive the sane error.

 

Any thoughts?

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @DMC_PBI ,

 

Try the following connection methods to see if they work:

vhenrykmstf_0-1661148628860.png

More details, you can read below document:

MySQL :: MySQL Connector/NET Developer Guide :: 4.1 Creating a Connector/NET Connection String


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Hi Henry,

 

I tried the connection methods you suggested and still cannot get the connection working on the Power BI Report server. 

 

The ODBC drivers are installed, a system DSN is created for both the 64-bit and 32-bit drivers and both DSNs test successful.

DMC_PBI_0-1661277960893.png

 

I create a Data Source on the Power BI Report Server using type ODBC (Preview) with the connection string and I recevie the following error. I have tried multiple connection strings and receive the same error.

DMC_PBI_1-1661278600772.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.