Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 months ago
Solved

OLE DB or ODBC error

Getting this error when trying to import data table:

Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: Container exited unexpectedly with code 0x00000002. PID: 4892. Used features: Adbc.DataSource/ADBC Snowflake Driver - Go/(unknown or development build)/Snowflake/v1.17.0.. '.

  • Hi Anonymous,

     

    Try it to fix:

     
    Option 1: Update the Snowflake ADBC Driver

    Option 2: Switch to the Official ODBC or Native Connector
    • Instead of ADBC, use the Snowflake native connector in Power BI or the certified ODBC driver.
    • In Power BI Desktop:
      Get Data β†’ Snowflake (do not use the experimental ADBC connector).

    Option 3: Validate Connection Parameters and Mode
    • Confirm whether you are using Import or DirectQuery.
    • If using DirectQuery, test with Import to check if the issue is related to the execution mode.
    • Verify that the Snowflake account has the correct permissions and that there are no network restrictions.

    If this response was helpful in any way, I’d gladly accept a πŸ‘much like the joy of seeing a DAX measure work first time without needing another FILTER.

    Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop πŸŒ€.

4 Replies

  • Hi Anonymous,

     

    Try it to fix:

     
    Option 1: Update the Snowflake ADBC Driver

    Option 2: Switch to the Official ODBC or Native Connector
    • Instead of ADBC, use the Snowflake native connector in Power BI or the certified ODBC driver.
    • In Power BI Desktop:
      Get Data β†’ Snowflake (do not use the experimental ADBC connector).

    Option 3: Validate Connection Parameters and Mode
    • Confirm whether you are using Import or DirectQuery.
    • If using DirectQuery, test with Import to check if the issue is related to the execution mode.
    • Verify that the Snowflake account has the correct permissions and that there are no network restrictions.

    If this response was helpful in any way, I’d gladly accept a πŸ‘much like the joy of seeing a DAX measure work first time without needing another FILTER.

    Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop πŸŒ€.

  • v-hashadapu's avatar
    v-hashadapu
    Community Support

    Hi Anonymous , Thank you for reaching out to the Microsoft Community Forum.

     

    We find the answer shared by Zanqueta  is appropriate. Can you please confirm if the solution worked for you. It will help others with similar issues find the answer easily.
    Thank you Zanqueta  for your valuable response.

  • v-hashadapu's avatar
    v-hashadapu
    Community Support

    Hi Anonymous , Hope you're doing okay! May we know if it worked for you, or are you still experiencing difficulties? Let us know β€” your feedback can really help others in the same situation.