<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: QUERY TASK returns Server argument not found. in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-returns-server-argument-not-found/m-p/102552#M2585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Moses,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried tracing your error in Fiddler to see what is happening?&amp;nbsp; If you are unfamiliar with Fiddler check out this link where I explain how to use Fiddler.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/22613"&gt;http://forums.arcgis.com/threads/22613&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you send the Fiddler information. I might be able to help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 14:20:40 GMT</pubDate>
    <dc:creator>JMcNeil</dc:creator>
    <dc:date>2012-08-14T14:20:40Z</dc:date>
    <item>
      <title>QUERY TASK returns Server argument not found.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-returns-server-argument-not-found/m-p/102551#M2584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I bumped my MaxRecordCount ArcGIS server parameter from its default of 500 to a larger number. The querytask returns correct number of features as expected but when the # of features to be returned is in the 55,000 to 350, 000 range the api returns a HttpWebRequest_WebException_RemoteServer Argument not found exception as in the attached file below: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]16888[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure what the real problem is but I'm persuaded to believe that the connection closes on the QueryTask API for large (55,000-350,000) features. I have looked at the layer server configuration settings but can't find a parameter i can tweak to increase the sendTimeout of the database so that it doesn't timeout for large features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;ServerObjectConfiguration&amp;gt;

 &amp;lt;Description&amp;gt;&amp;lt;/Description&amp;gt;

 &amp;lt;Properties&amp;gt;
&amp;nbsp; &amp;lt;FilePath&amp;gt;\\mkgistempd01\arcgisserver\services\maps\Storm_map.mxd&amp;lt;/FilePath&amp;gt;
&amp;nbsp; &amp;lt;OutputDir&amp;gt;c:\arcgisserver\arcgisoutput&amp;lt;/OutputDir&amp;gt;
&amp;nbsp; &amp;lt;VirtualOutputDir&amp;gt;http://mkgistempd01/arcgisoutput&amp;lt;/VirtualOutputDir&amp;gt;
&amp;nbsp; &amp;lt;SupportedImageReturnTypes&amp;gt;URL&amp;lt;/SupportedImageReturnTypes&amp;gt;
&amp;nbsp; &amp;lt;MaxImageHeight&amp;gt;2048&amp;lt;/MaxImageHeight&amp;gt;
&amp;nbsp; &amp;lt;MaxRecordCount&amp;gt;350000&amp;lt;/MaxRecordCount&amp;gt;
&amp;nbsp; &amp;lt;MaxBufferCount&amp;gt;1000&amp;lt;/MaxBufferCount&amp;gt;
&amp;nbsp; &amp;lt;MaxImageWidth&amp;gt;2048&amp;lt;/MaxImageWidth&amp;gt;
&amp;nbsp; &amp;lt;IsCached&amp;gt;false&amp;lt;/IsCached&amp;gt;
&amp;nbsp; &amp;lt;CacheOnDemand&amp;gt;false&amp;lt;/CacheOnDemand&amp;gt;
&amp;nbsp; &amp;lt;IgnoreCache&amp;gt;false&amp;lt;/IgnoreCache&amp;gt;
&amp;nbsp; &amp;lt;ClientCachingAllowed&amp;gt;true&amp;lt;/ClientCachingAllowed&amp;gt;
&amp;nbsp; &amp;lt;CacheDir&amp;gt;c:\arcgisserver\arcgiscache\RIVER_Storm_map&amp;lt;/CacheDir&amp;gt;
&amp;nbsp; &amp;lt;SOMCacheDir&amp;gt;c:\arcgisserver\arcgiscache&amp;lt;/SOMCacheDir&amp;gt;
 &amp;lt;/Properties&amp;gt;

 &amp;lt;Extension&amp;gt;
&amp;nbsp; &amp;lt;TypeName&amp;gt;KmlServer&amp;lt;/TypeName&amp;gt;
&amp;nbsp; &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;
&amp;nbsp; &amp;lt;Properties&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ImageSize&amp;gt;1024&amp;lt;/ImageSize&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Composite&amp;gt;true&amp;lt;/Composite&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;FeatureLimit&amp;gt;350000&amp;lt;/FeatureLimit&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Dpi&amp;gt;96&amp;lt;/Dpi&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;UseNetworkLinkControlTag&amp;gt;false&amp;lt;/UseNetworkLinkControlTag&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;MinRefreshPeriod&amp;gt;30&amp;lt;/MinRefreshPeriod&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;LinkDescription&amp;gt;&amp;lt;/LinkDescription&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;LinkName&amp;gt;&amp;lt;/LinkName&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Message&amp;gt;&amp;lt;/Message&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;EndPointURL&amp;gt;http://mkgistempd01/arcgis/services/RIVER/Storm_map/MapServer&amp;lt;/EndPointURL&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;UseDefaultSnippets&amp;gt;false&amp;lt;/UseDefaultSnippets&amp;gt;
&amp;nbsp; &amp;lt;/Properties&amp;gt;
&amp;nbsp; &amp;lt;Info&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;WebEnabled&amp;gt;false&amp;lt;/WebEnabled&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;WebCapabilities&amp;gt;SingleImage,SeparateImages,Vectors&amp;lt;/WebCapabilities&amp;gt;
&amp;nbsp; &amp;lt;/Info&amp;gt;
 &amp;lt;/Extension&amp;gt;

 &amp;lt;Extension&amp;gt;
&amp;nbsp; &amp;lt;TypeName&amp;gt;MobileServer&amp;lt;/TypeName&amp;gt;
&amp;nbsp; &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;
&amp;nbsp; &amp;lt;Properties&amp;gt;
&amp;nbsp; &amp;lt;/Properties&amp;gt;
&amp;nbsp; &amp;lt;Info&amp;gt;
&amp;nbsp; &amp;lt;/Info&amp;gt;
 &amp;lt;/Extension&amp;gt;

 &amp;lt;Extension&amp;gt;
&amp;nbsp; &amp;lt;TypeName&amp;gt;NAServer&amp;lt;/TypeName&amp;gt;
&amp;nbsp; &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;
&amp;nbsp; &amp;lt;Properties&amp;gt;
&amp;nbsp; &amp;lt;/Properties&amp;gt;
&amp;nbsp; &amp;lt;Info&amp;gt;
&amp;nbsp; &amp;lt;/Info&amp;gt;
 &amp;lt;/Extension&amp;gt;

 &amp;lt;Extension&amp;gt;
&amp;nbsp; &amp;lt;TypeName&amp;gt;WCSServer&amp;lt;/TypeName&amp;gt;
&amp;nbsp; &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;
&amp;nbsp; &amp;lt;Properties&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;CustomGetCapabilities&amp;gt;false&amp;lt;/CustomGetCapabilities&amp;gt;
&amp;nbsp; &amp;lt;/Properties&amp;gt;
&amp;nbsp; &amp;lt;Info&amp;gt;
&amp;nbsp; &amp;lt;/Info&amp;gt;
 &amp;lt;/Extension&amp;gt;

 &amp;lt;Extension&amp;gt;
&amp;nbsp; &amp;lt;TypeName&amp;gt;WFSServer&amp;lt;/TypeName&amp;gt;
&amp;nbsp; &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;
&amp;nbsp; &amp;lt;Properties&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;CustomGetCapabilities&amp;gt;false&amp;lt;/CustomGetCapabilities&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;EnableTransactions&amp;gt;false&amp;lt;/EnableTransactions&amp;gt;
&amp;nbsp; &amp;lt;/Properties&amp;gt;
&amp;nbsp; &amp;lt;Info&amp;gt;
&amp;nbsp; &amp;lt;/Info&amp;gt;
 &amp;lt;/Extension&amp;gt;

 &amp;lt;Extension&amp;gt;
&amp;nbsp; &amp;lt;TypeName&amp;gt;WMSServer&amp;lt;/TypeName&amp;gt;
&amp;nbsp; &amp;lt;Enabled&amp;gt;false&amp;lt;/Enabled&amp;gt;
&amp;nbsp; &amp;lt;Properties&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;CustomGetCapabilities&amp;gt;false&amp;lt;/CustomGetCapabilities&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;PathToCustomGetCapabilitiesFiles&amp;gt;&amp;lt;/PathToCustomGetCapabilitiesFiles&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Name&amp;gt;WMS&amp;lt;/Name&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Title&amp;gt;&amp;lt;/Title&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Abstract&amp;gt;&amp;lt;/Abstract&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Keyword&amp;gt;&amp;lt;/Keyword&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;OnlineResource&amp;gt;&amp;lt;/OnlineResource&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ContactPerson&amp;gt;&amp;lt;/ContactPerson&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ContactPosition&amp;gt;&amp;lt;/ContactPosition&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ContactOrganization&amp;gt;&amp;lt;/ContactOrganization&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;AddressType&amp;gt;&amp;lt;/AddressType&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;City&amp;gt;&amp;lt;/City&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;StateOrProvince&amp;gt;&amp;lt;/StateOrProvince&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;PostCode&amp;gt;&amp;lt;/PostCode&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Country&amp;gt;&amp;lt;/Country&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ContactVoiceTelephone&amp;gt;&amp;lt;/ContactVoiceTelephone&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ContactFacsimileTelephone&amp;gt;&amp;lt;/ContactFacsimileTelephone&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;ContactElectronicMailAddress&amp;gt;&amp;lt;/ContactElectronicMailAddress&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Fees&amp;gt;&amp;lt;/Fees&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;AccessConstraints&amp;gt;&amp;lt;/AccessConstraints&amp;gt;
&amp;nbsp; &amp;lt;/Properties&amp;gt;
&amp;nbsp; &amp;lt;Info&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;WebEnabled&amp;gt;false&amp;lt;/WebEnabled&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;WebCapabilities&amp;gt;&amp;lt;/WebCapabilities&amp;gt;
&amp;nbsp; &amp;lt;/Info&amp;gt;
 &amp;lt;/Extension&amp;gt;

 &amp;lt;Recycling&amp;gt;
&amp;nbsp; &amp;lt;Start&amp;gt;00:00&amp;lt;/Start&amp;gt;
&amp;nbsp; &amp;lt;Interval&amp;gt;86400&amp;lt;/Interval&amp;gt;
 &amp;lt;/Recycling&amp;gt;

 &amp;lt;Info&amp;gt;
&amp;nbsp; &amp;lt;WebCapabilities&amp;gt;Map,Query,Data&amp;lt;/WebCapabilities&amp;gt;
&amp;nbsp; &amp;lt;WebEnabled&amp;gt;true&amp;lt;/WebEnabled&amp;gt;
 &amp;lt;/Info&amp;gt;

 &amp;lt;IsPooled&amp;gt;true&amp;lt;/IsPooled&amp;gt;
 &amp;lt;MinInstances&amp;gt;1&amp;lt;/MinInstances&amp;gt;
 &amp;lt;MaxInstances&amp;gt;2&amp;lt;/MaxInstances&amp;gt;
 &amp;lt;InstancesPerContainer&amp;gt;1&amp;lt;/InstancesPerContainer&amp;gt;
 &amp;lt;WaitTimeout&amp;gt;60&amp;lt;/WaitTimeout&amp;gt;
 &amp;lt;IdleTimeout&amp;gt;1800&amp;lt;/IdleTimeout&amp;gt;
 &amp;lt;UsageTimeout&amp;gt;600&amp;lt;/UsageTimeout&amp;gt;
 &amp;lt;CleanupTimeout&amp;gt;30&amp;lt;/CleanupTimeout&amp;gt;
 &amp;lt;StartupTimeout&amp;gt;300&amp;lt;/StartupTimeout&amp;gt;
 &amp;lt;Isolation&amp;gt;high&amp;lt;/Isolation&amp;gt;
 &amp;lt;StartupType&amp;gt;automatic&amp;lt;/StartupType&amp;gt;

&amp;lt;/ServerObjectConfiguration&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a parameter i can tweak to allow the connection to stay longer? Please any helpful suggestion will be&amp;nbsp; much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moses&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 16:37:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-returns-server-argument-not-found/m-p/102551#M2584</guid>
      <dc:creator>MosesAsuquo</dc:creator>
      <dc:date>2012-08-13T16:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: QUERY TASK returns Server argument not found.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-returns-server-argument-not-found/m-p/102552#M2585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Moses,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried tracing your error in Fiddler to see what is happening?&amp;nbsp; If you are unfamiliar with Fiddler check out this link where I explain how to use Fiddler.&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/22613"&gt;http://forums.arcgis.com/threads/22613&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you send the Fiddler information. I might be able to help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-returns-server-argument-not-found/m-p/102552#M2585</guid>
      <dc:creator>JMcNeil</dc:creator>
      <dc:date>2012-08-14T14:20:40Z</dc:date>
    </item>
  </channel>
</rss>

