Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer

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.

http://stackoverflow.com/questions/8061330/how-to-overcome-fast-search-char-limitation-2048 is a possible duplicate of your question, but sadly it never recieved any attention.

Also this from Technet http://social.technet.microsoft.com/Forums/en-US/fastsharepoint/thread/b193fc10-3c39-43d3-9e4a-378ff90125f2 with some answers and approaches

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

Your Answer

 
discard

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.