Quantcast
Channel: SQL Server Compact & SQLite Toolbox
Viewing all articles
Browse latest Browse all 2796

Closed Unassigned: Why is SQL CE Toolbox failing to parse my csv file? [12269]

$
0
0
Why is SQL CE Toolbox failing to parse my csv file?



I installed it, opened VS 2015, selected Tools | SQL Server Compact Toolbox, quickly and easily set up a connection to my sdf database, which I had (also quickly and easily) created in WebMatrix.

I then right-clicked the database in SQLCEToolbox's treeview and selected Import from CSV file.

Note: One must explicitly specify the column names on the first line in the file (line/row 0) and explicitly add the ID/Primary Key/Identity vals (if you have such a column).

Once I fixed the various formatting errors with my csv file, it seemed to import well. But I got this err msg:


Error Code: 80004005
Message : The column cannot be modified. [ Column name = ID ]
Minor Err.: 25004
Source : SQL Server Compact ADO.NET Data Provider
Err. Par. : ID
Comments: By design

Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>