BUG
The .NET ADF Buffer template will fail with an application error when trying to select features in a server object that does not contain selectable layers.
Application_Error
Object reference not set to an instance of an object.
This is a known problem with the .NET ADF Buffer template.
Get help from ArcGIS experts
Download the Esri Support App