Forum Discussion
ODBC connection in Data Pipeline or Data Flow Gen2 in Microsoft Fabric
Hi,
I am trying to connect the ODBC source in Microsoft Fabric either Data Pipeline (Copy Activity) or Data Flow Gen2.
I have installed the ODBC driver "DataDirect HDP 4.6" in my laptop and created the System DSN with the client specific details like Service Name, port number, Hybrid Data Pipeline Source, user name & password and finally tested the DSN and test is successful.
Then I have installed the On-premises data gateway in my laptop and which is showing status as online in Microsoft Fabric.
Now I have tried to create the ODBC connection in Microsoft Fabric Data Pipeline Gen2, but which is throghing the error
"An exception occurred: ODBC: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (Session ID: xxxxxxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx, Region: us)"
Can you please help, where I am missing something.
Below are the screenshots
Regards,
Sathish Kumar
- Anonymous2 years ago
Hi,
While creating the connection, we should not use {}. After removing {} connection established succesfully.Regards,
Sathish Kumar
8 Replies
- AnonymousNot applicable
Hi,
While creating the connection, we should not use {}. After removing {} connection established succesfully.Regards,
Sathish Kumar
- v-cboorla-msft
Microsoft Employee
Hi Anonymous
Thanks for using Microsoft Fabric Community.
Glad that you were able to find some insights and thank you for sharing the same with the community as it can be helpful to others.
Please continue using Fabric Community for further queries.Thank you.
- FabricLearnerFrequent Visitor
Hi Anonymous ,
I encountered a similar issue while connecting our Deltek Production database to Fabric using the ODBC connector. Here are the steps I followed:
- Installed the ODBC driver ‘DataDirect HDP 4.6’ on the SQL server.
- Created a System DSN (Data Source Name) with client-specific details, including the Service Name, port number, Hybrid Data Pipeline Source, username, and password
- Successfully tested the DSN.
- Installed the On-premises data gateway in Sql Server and which is showing status as online in Microsoft Fabric.
Now I have tried to create the ODBC connection in Microsoft Fabric Data Flow, but which is throghing below error
An exception occurred: ODBC: ERROR [HY000] [DataDirect][ODBC Hybrid driver][Hybrid]HTTP library error: Perform failed. (3, The URL was not properly formatted.)
Could you please identify what I'm missing here, and that could be a big help for me.
Thank you and appreciating you help and time.
- AnonymousNot applicable
Hi FabricLearner,
In your Fabric Data Flow ODBC connection, Please mention ODBC Connection String as
dsn=Deltek_Fabric_Odbc
You have to mention your exact ODBC DSN name in the connection string area and then connect. I hope this will resolve the issue.
Note : ODBC Driver, ODBS DSN and On Premise Data Gateway - All should present in the same host.
Regards,
Sathish Kumar
- FabricLearnerFrequent Visitor
Thank you so much Anonymous!
Your response helped me make an ODBC connection in Fabric. I appreciate your help.
- Yi_Han_WongNew Member
Hi there - I am also in a similar situation when trying to test my ODBC on an Integration Runtime (I'm using ADF), however it doesn't seem to work in IR.
I got the following success message when testing the connection in ODBC Admin:
However, when I tried applying the following in IR, I got the following:
Am I missing something here, as I can't seem to get past the error 400?
- AnonymousNot applicable
Below are the steps I followed to connect,
Create the ODBC setup in the machine. On the same machine install the on premise IR and sign in the IR.
Go to ADF and create the linked service with with ODBC name and select the on Premise IR which you created and test the linked service.- Yi_Han_WongNew Member
Hi Sathish, I managed to set the ODBC set up and the tested it which worked.
I then installed the on-prem IR and tested the IR which is showing the error message I shared earlier.
Is there any value of going to ADF to test, if the IR test itself is already failing?