Why Won't My .dbf Destination Work

This past week I ran into an issue where I needed to use a .dbf destination in my SSIS package. All was going well; I set up the destination and pressed the preview button to make sure everything was great, and BOOM! Blew up in my face. Not cool. So if you happen to be having issues setting up a connection for a .DBF here is what you need to do.
Use the Native OLE DBMicrosoft Jet 4.0 OLE DB Provider
The protocols for connection are stored in the Extended Properties (located on the All tab), which is where the issue was… My connection defaulted to DBase 5.0 and Persist Security Info=True

There are actually three different options for the DBase type that are used: 3, 4 and 5. So after a little digging I decided to try and change that to something other than 5. I changed to 4, but that didn’t work.
You may need to not only change that, but remove the Persist Security Info=True

Next on the Connection tab you need to select the database file name.
For this be sure to ONLY select the folder that the .dbf is located in, not the actual file itself.

Finally, in your source or destination selection the OLE DB Connection Manager and on the table or view you will have a list of all the .dbf files in that directory. Simply select the appropriate file name, and you’re good to go!

Just as a note, when you enter DBase #, make sure to use roman numerals. If you want DBase 3 it must read DBase III, or DBase 4 as DBase IV. If you put in the number the connection will error out. Also, it depends on your system what DBase needs to be in the extended properties, it will not always be DBase IV.

About the author

Bradley Schacht

Bradley Schacht is a Principal Program Manager on the Microsoft Fabric product team based in Jacksonville, FL. Bradley is a former consultant, trainer, and has authored 5 SQL Server and Power BI books, most recently the Microsoft Power BI Quick Start Guide. As a member of the Microsoft Fabric product team, Bradley works directly with customers to solve some of their most complex data problems and helps shape the future of Microsoft Fabric. He frequently presents at community events around the country, is a contributor to sites such as SQLServerCentral.com, and is a member of the Jacksonville SQL Server User Group (JSSUG).

Add comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Bradley Schacht

Bradley Schacht is a Principal Program Manager on the Microsoft Fabric product team based in Jacksonville, FL. Bradley is a former consultant, trainer, and has authored 5 SQL Server and Power BI books, most recently the Microsoft Power BI Quick Start Guide. As a member of the Microsoft Fabric product team, Bradley works directly with customers to solve some of their most complex data problems and helps shape the future of Microsoft Fabric. He frequently presents at community events around the country, is a contributor to sites such as SQLServerCentral.com, and is a member of the Jacksonville SQL Server User Group (JSSUG).

Follow Me