System.Net.WebException: The server committed a protocol violation. Section=ResponseStatusLine at ESRI.ArcGIS.Client.Layer.OnInitializationFailed(EventArgs e) at ESRI.ArcGIS.Client.Layer.Initialize() at ESRI.ArcGIS.Client.FeatureLayer.<Initialize>b__6c(FeatureLayerInfo layerinfo, Exception error) at ESRI.ArcGIS.Client.FeatureService.FeatureLayerInfo.<>c__DisplayClass2.<Get>b__1(Object a, RequestEventArgs b) at ESRI.ArcGIS.Client.WebRequest.OnComplete(RequestEventArgs args) at ESRI.ArcGIS.Client.WebRequest.downloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e, Action retryCallback) at ESRI.ArcGIS.Client.WebRequest.<>c__DisplayClass1d.<BuildClient>b__1b(Object s, DownloadStringCompletedEventArgs e)
Solved! Go to Solution.