I am using MsSql2008FeatureLayer to display spatial data and I am trying to insure that I have spatial indices on all of my geometry tables. I get an error on one table. It has a single point type feature in it. I have checked that the feature is valid (STIsValid). I get this error:
Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'
The Location field is not null. I realize there is not much need for a spatial index on a table with only one record. Is this not allowed?
Charles