Select to view content in your preferred language

Importing from Flat File via SSIS to ArcSDE

4196
10
05-19-2011 07:37 AM
JeffersonWest
Emerging Contributor
ArcSDE 9.3.1 - three tier for admin, two tier for user access
SQLServer 2008 64-bit

I'm trying to schedule a weekly batch job that pulls a flat file via FTP from a third-party and loads it into an SDE layer.  The layer is registered with USER maintained RowID column defined as INT NOT NULL IDENTITY.  Registration is handled with this command:

sdelayer -o register -l onecalls,shape -e np -C onecalls_id,USER -i devdb -u xxxx -p xxxx -x -180,-90,1000000 -G 4326 -t GEOMETRY

Data gets pulled via FTP fine, SSIS is used to read resulting flat file and load data into a table.  Two of the columns are Latitude and Longitude, and last step in the SSIS import is to generate point geometry from these two columns and write to Shape column (of type geometry) using STPointFromText().  Entity type of the layer is 'np'.

When viewed in ArcMap the layer looks fine, and zoom/pan works great.  If I open the attribute table I am able to view all of the data very nicely.  However, if I try to select any of the features, whether by clicking in the Attribute table, selecting with a rectangle, or by SQL query, ArcMap 'encounters a serious error' and goes away.  I suspect problems with RowID, but not sure what would be the issue.

Any ideas appreciated.
0 Kudos
10 Replies
VinceAngelo
Esri Esteemed Contributor
I wonder if this may be a Windows runtime issue... What output do you get from 'ascinfo'
and 'ascinfo --version'?

See the 00README_WINDOWS.HTML for information on obtaining the necessary .NET Framework
and/or VC 2008 runtime.

- V
0 Kudos