AnsweredAssumed Answered

Using a QueryFilter for a Table that comes from a Feature Server

Question asked by KarlHuber on Feb 19, 2018
Latest reply on Feb 21, 2018 by temge-esristaff

Hi there,


we discovered a strange error message, when we tried to use a query filter in combination with a feature service. Our repro case is as following:


                    var geodatabase = new Geodatabase(

                         new ServiceConnectionProperties(

                             new Uri(



                     var table = geodatabase.OpenDataset<Table>("L1503UT_CLASSGROUPS");

                     var rowCursor = table.Search(null, true);

                     var moveNext = rowCursor.MoveNext();


this gave us the error message:


System.Runtime.InteropServices.COMException: 'Ein Ereignis konnte keinen Abonnenten aufrufen. (Ausnahme von HRESULT: 0x80040201)'


Sorry for the german text here, translation is "An event could not call a subscriber." - The HRESULT is 0x80040201

The 'Table' "L1503UT_CLASSGROUPS" refers to a standalone table that is part of the layers that are published with the feature service: Table name is "UT_CLASSGROUPS" the Layer ID is "1503". The 'Table' can be openend properly. A Table.Search(...) yields into the error above.


Our Pro-Version is 2.1.1


Thanks you for any ideas of how to resolve that...