AnsweredAssumed Answered

Problem with creating InsertCursor

Question asked by Chris_py on Sep 15, 2014
Latest reply on Dec 11, 2014 by kreuzrsk



I want to write a small tool, which insert some data into an MS-Access database (.mdb). But i have a problem to initialize the cursor.

The Code is very simple :


strOutputPath = r"I:\Data\Test.mdb\FS_BASEMAP\FCL_B_COVERSHEET_A"
icur = arcpy.InsertCursor(strOutputPath)


There is some more code but it stoped at this point and I get this error message:

Traceback (most recent call last):

  File "I:\Skript\", line 70, in <module>

    icur = arcpy.InsertCursor(strOutputPath)

  File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\", line 1214, in InsertCursor

    return gp.insertCursor(dataset, spatial_reference)

  File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\geoprocessing\", line 369, in insertCursor

    self._gp.InsertCursor(*gp_fixargs(args, True)))

RuntimeError: ERROR 999999: Fehler beim Ausführen der Funktion.

COM-Komponente der Objektklassenerweiterung konnte nicht erstellt werden. [FCL_B_COVERSHEET_A]


The error message is in german so I translate it:

ERROR 999999: Error when executing the function.
COM component object class extension could not be created. [FCL_B_COVERSHEET_A]


I don't know what the problem is, so hopefully some can help me.


Thanks, Regards