Columns are not defined for this connection manager

11.5k Views Asked by At

When I open my flat file connection manager, I see a warning message:

Columns are not defined for this connection manager

How do I solve this issue, or is it even something I need to worry about?

Screenshot of warning message in Visual Studio

3

There are 3 best solutions below

3
On

Click "Columns" in the pane on the left and define the columns of your flat file.

0
On

I am doing an "online" course and during the steps of importing a flat file I also encountered it. I could not get it to work initially. Then I aborted the import and tried again and used the " as text qualifier (even though the columns in the file are separated). It worked and I could see the correct columns in preview.

0
On

I know this might sound dumb but in my case, I accidently saved the file as xlsb instead of csv. Saving the file as the correct file type resolved issue.