SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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 have been receiving this error:

The index entry of length <> bytes for the index '<>' exceeds the maximum length of <> bytes. The index entry of length for the index exceeds maximum length in SQL which is 900 byte max. Content crawling may not complete due to this issue and you will see crawling errors

I found a blog post which states the source is that the 'MSSDOCProps' table has a column with a limit of 450 characters, in unicode that 2 bytes per character so 900 bytes. The issue is that when including the 'PID' which is 4 bytes, you get a size of 904 bytes.

( )

The workaround is to limit the "MaxCharactersInPropertyStoreIndex" property to 448

( )

So I understand all that, but I'm not sure where exactly I would set this parameter. In the code-behind my Master Page?

I am using C#. Any ideas?

share|improve this question

I believe the value you want is here: = 448;
share|improve this answer
Is this something I would only have to run once? or should I be setting it everytime a page load is done in SharePoint? I'm just not sure when/where to set this property. – TeddyRuxpin Dec 9 '12 at 14:03
This would have to be set each instance it is called, it would go into a custom webpart for the search. Sorry for the late reply I didn't get the notification. – Hugh Wood Dec 10 '12 at 10:44
No problem. I was worried that I would have to set it each instance. Right now my master page has a SearchBoxEX control, which points to a webpage that has a Search Core Results webpart that is displaying the results. Perhaps it is possible to create a custom webpart inheriting its class. Do you know in what event I would have to set that property? – TeddyRuxpin Dec 11 '12 at 2:18
First off, incase you don't know how to extend webparts… not sure on the function, but when you do that you will be able to see what you override. It should be fairly obvious. – Hugh Wood Dec 11 '12 at 10:03
Thanks. I'll look into it. – TeddyRuxpin Dec 11 '12 at 14:52

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.