AnsweredAssumed Answered

Issue creating/updating features via CoreHost using ArcGIS Pro 2.5

Question asked by domesjo on Mar 25, 2020
Latest reply on Jun 9, 2020 by domesjo



I have written a console application (in C#) which uses Core & CoreHost to update as well as create features in an GDB as well as an SDE.

This was working when I was using ArcGIS Pro 2.4, but I recently tried updating to ArcGIS Pro 2.5 and have been getting an error ever since when storing the feature.


This is what my code looks like:

using (var buildingsTable = geodatabase.OpenDataset<FeatureClass>(Constants.Building.TABLE_NAME))
    foreach (var building in newBuildings)
        using (var rowBuffer = buildingsTable.CreateRowBuffer())


And this is the error which the core dll is giving me:

Klassen har inte registrerats

   vid ArcGIS.Core.Internal.IFeatureClassIOP.FeatureClass_CreateFeature(IntPtr featureClassHandle, IntPtr featureBufferHandle)
   vid ArcGIS.Core.Data.FeatureClass.CreateFeature(RowBuffer featureBuffer)
   vid ArcGIS.Core.Data.FeatureClass.CreateRow(RowBuffer featureBuffer)
   --- **** på stackspårning för interna undantag ---
   vid ArcGIS.Core.Data.FeatureClass.CreateRow(RowBuffer featureBuffer)
   vid BALSynchronizer_v2.Services.BuildingFeatureService.UpsertBuildings(IEnumerable`1 buildings) i


"Klassen har inte registrerats" is Swedish and translates to "The class has not been registrered"


Looks like this is some issue in the underlying COM-layer?


I've tried removing and re-installing ArcGIS Pro 2.5 without success.


Any suggestions?


Thanks in advance.


Best regards