Use the same proxy URL or submit the token value when defining your layer, for example: <esri:FeatureLayer ID="ID2" Url="http://name/ArcGIS/rest/services/name/MapServer/0" Where="Query > 0" Color="Orange" ProxyURL="../proxy.ashx" </esri:FeatureLayer>