The ArcGIS Server local connection layer doesn't implement ILayer interface properly.The MapServerLayer ojbject that implements ILayer interface returns wrong result on calling AreaOfInterest method. The method returns zero while any valid implemetation ILayer interfaceshould return valid result.So KmlProject can't support MapServerLayer uniformly to other layer types.This is not the case for ArcGIS Server internet connection layers.