web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error while run Power ...
Power Automate
Unanswered

Error while run Power Automate Desktop flow

(1) ShareShare
ReportReport
Posted on by 10

Hi,

I am trying extracting data from Open SQL connection (ODBC) and I am getting the below error message;

 

Correlation Id: 8e5ff5c2-9e52-40d4-afaf-b37188ae01ac

The .Net Framework Data Provider for OLEDB (System.Data.OleDb) does not support the Microsoft OLE DB Provider for ODBC Drivers (MSDASQL). Use the .Net Framework Data Provider for ODBC (System.Data.Odbc).: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Connection string isn't valid ---> System.ArgumentException: The .Net Framework Data Provider for OLEDB (System.Data.OleDb) does not support the Microsoft OLE DB Provider for ODBC Drivers (MSDASQL). Use the .Net Framework Data Provider for ODBC (System.Data.Odbc).
at System.Data.OleDb.OleDbConnectionString.ValidateProvider(String progid)
at System.Data.OleDb.OleDbConnectionString.ValidateConnectionString(String connectionString)
at System.Data.OleDb.OleDbConnectionString..ctor(String connectionString, Boolean validate)
at System.Data.OleDb.OleDbConnectionStringBuilder.GetProviderInfo(String provider)
at System.Data.OleDb.OleDbConnectionStringBuilder.TryGetValue(String keyword, Object& value)
at Microsoft.Flow.RPA.Desktop.Modules.Database.Actions.DatabaseActions.OpenConnection(Variant connectionString, SqlConnectionVariant& connection)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.Database.Actions.OpenConnection.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)"

 

Any suggestions to resolve this issue.

Thank you,

  • Parthiban759 Profile Picture
    56 on at

    I was able to connect successfully, Try any of this connection string mentioned below

     

    Standard Security
    Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Uid=myUsername;Pwd=myPassword;

     

    Trusted connection
    Driver={SQL Server};Server=myServerAddress;Database=myDataBase;Trusted_Connection=Yes;

  • Jagannatha0401 Profile Picture
    10 on at

    Hi Prathiban,

     

    Thank you for the details.

     

    Currently I am using below connection. Test is successful but when run the flow getting the error message.

     

    Jagannatha0401_0-1686911209557.png

     

     

    Jagannatha0401_1-1686911387719.png

     

    Still I am getting the error message;

     

    Correlation Id: 8e5ff5c2-9e52-40d4-afaf-b37188ae01ac

    The .Net Framework Data Provider for OLEDB (System.Data.OleDb) does not support the Microsoft OLE DB Provider for ODBC Drivers (MSDASQL). Use the .Net Framework Data Provider for ODBC (System.Data.Odbc).: Microsoft.PowerPlatform.PowerAutomate.Desktop.Actions.SDK.ActionException: Connection string isn't valid ---> System.ArgumentException: The .Net Framework Data Provider for OLEDB (System.Data.OleDb) does not support the Microsoft OLE DB Provider for ODBC Drivers (MSDASQL). Use the .Net Framework Data Provider for ODBC (System.Data.Odbc).
    at System.Data.OleDb.OleDbConnectionString.ValidateProvider(String progid)
    at System.Data.OleDb.OleDbConnectionString.ValidateConnectionString(String connectionString)
    at System.Data.OleDb.OleDbConnectionString..ctor(String connectionString, Boolean validate)
    at System.Data.OleDb.OleDbConnectionStringBuilder.GetProviderInfo(String provider)
    at System.Data.OleDb.OleDbConnectionStringBuilder.TryGetValue(String keyword, Object& value)
    at Microsoft.Flow.RPA.Desktop.Modules.Database.Actions.DatabaseActions.OpenConnection(Variant connectionString, SqlConnectionVariant& connection)
    --- End of inner exception stack trace ---
    at Microsoft.Flow.RPA.Desktop.Modules.Database.Actions.OpenConnection.Execute(ActionContext context)
    at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)"

     

    Any suggestions to resolve this issue.

    Thank you,

  • Jagannatha0401 Profile Picture
    10 on at

    Beow is the "Provider" selection details.

    Jagannatha0401_2-1686911558118.png

     

  • Parthiban759 Profile Picture
    56 on at

    Its working fine for me, check the connection string, or check if there is permission for the database or table

    sql_dsn.PNG
  • Jagannatha0401 Profile Picture
    10 on at

    Hi Parthiban,

    I have trying change the configuration as SQL Server but still not working.

     

    I am using System DSN ODBC;

    Jagannatha0401_0-1686913306567.png

     

     

    Thank you, 

     

  • Parthiban759 Profile Picture
    56 on at

    Try Create User DSN with SQL Server, attached screenshot for reference. I did the same it worked for me

    dsn.PNG
  • Jagannatha0401 Profile Picture
    10 on at

    Hi Parthiban,

     

    I have tried changing the configuration as SQL Server in ODBC but still I am unable to getting the error message.

     

    Jagannatha0401_0-1687186975100.png

     

    Thank you,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard