SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting an exception:

Exception information: 
Exception type: FaultException 
Exception message: System.ArgumentOutOfRangeException

while calling my FS4SP web service. It runs fine for small queries but fails when my search criteria becomes large (2000+ characters). Does FS4SP has a limitation on search criteria? My QueryText in in STRING format.

share|improve this question
up vote 2 down vote accepted

As you have seen, the limit for the Query is actually 2048 characters. So any more than that will throw this exception. is a possible duplicate of your question, but sadly it never recieved any attention.

Also this from Technet with some answers and approaches

share|improve this answer
Thanks for the quick response. – Ashish May 14 '13 at 9:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.