Insert cursor: No support for this geometry type.

Discussion created by sebastianblesgen on Dec 9, 2013
Latest reply on Jan 23, 2014 by sebastianblesgen

I try to do a [PHP]arcpy.InsertCursor("db.sde/db.dbo.IMPORT")[/PHP] but I have this exception:
ERROR 999999: Error executing function.\nNo support for this geometry type.')[/PHP]

    targetFeatures = arcpy.InsertCursor("db.sde/db.dbo.IMPORT")
  File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\", line 1214, in InsertCursor
    return gp.insertCursor(dataset, spatial_reference)
  File "C:\Program Files\ArcGIS\Server\arcpy\arcpy\geoprocessing\", line 369, in insertCursor
    self._gp.InsertCursor(*gp_fixargs(args, True)))

My gdb is an SQL Server I created by myself then I use arcpy to create the used .sde and the IMPORT table. This table has a "Shape" field with polygon geometry type.

What this exception means? I'm using the 10.2 version and it worked with 10.0...