DCSIMG
Error in the Site Data Web Service. (Value does not fall within the expected range.) - Doron Goldberg

Error in the Site Data Web Service. (Value does not fall within the expected range.)

After setting up a new web application for a new portal I faced a crawling problem of the new site collection.

Description:

Right after starting the crawler it stops, giving 2-3 error messages, all with the same syntax:

Error in the Site Data Web Service. (Value does not fall within the expected range.)

 

The crawl log was the only place the error was logged, with no additional information regarding the cause of the problem.

 

Searching the web came up with very little solutions, while only one of them seemed to apply to our case:

 

1. stsadm -o export -url http://intranet/sites/it -filename D:\it.back.11.21.08.cmp -versions 2
2. Delete the site collection
3. stsadm -o import -url http://intranet/sites/it -filename D:\it.back.11.21.08.cmp -updateversions 2 –nofilecompression

(See here)

 

While option 1 and 3 are reasonable, deleting the site collection didn’t apply since the portal was already in production stage. (along with the fact faze 1 didn’t pass either due to some technical issues… so I had to look for a better way to solve the issue)

After opening a support ticket, Microsoft’s support team came up with a nicer solution:

First of all, the cause behind this problem:

Corrupted SIDs in the UserInfo table

Solution:

1. Run the following sql query using your moss content database:

Select tp_login, tp_systemid, tp_deleted from userinfo where len(ltrim(rtrim(tp_systemid))) <25 and tp_deleted = 0

2. Give some kind of permissions to the root site of the site collection to all the users returned by the query, except system users:

NT AUTHORITY\authenticated users
NT AUTHORITY\local service
NT AUTHORITY\system
SHAREPOINT\system

4. After the query returns no results (accept the system accounts) start a full crawl.

 

Notes:

1. As for stage 2, you better test 2-3 users just to make sure that after you give them permissions to the root site they are infect removed from the query search results.

2. By give permission I mean any type of permission, “read” is enough. While giving permissions to a user in the root level the SID is updated and fixed (somehow…).

3. I had a local problem with some of the users which appeared in the returned result – I couldn’t add them to the site collection because they were deleted from the Active Directory (former employees) so simply had to delete them through the “People and Groups” of the site collection.

Comments

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Friday, September 25, 2009 4:37 PM by yuval

בשעה טובה.

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Tuesday, September 29, 2009 3:07 PM by RobN

Hi, thanks. I found that after an import from docave content manager, I was left with something like a duplicate user (mine but with a different name). I re-added my own permissions, deleted the spoof ones and then deleted that spoof one from the site collection. All via the standard moss permissions and profile page (click on the spoof user).

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Thursday, November 12, 2009 11:56 AM by Alka

That worked me. Thank you so much

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Tuesday, January 05, 2010 5:16 PM by Kyle Powell

Thanks!  This worked for me also.  

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Monday, March 22, 2010 2:01 AM by Barth

Hi. The strongest principle of growth lies in human choice. Help me! Help to find sites on the: Stock market share trading. I found only this - <a href="tt.tlu.ee/.../share-tips-day-trading-nse">share tips day trading nse</a>. The listed companies are, in enhanced brokerage of construction, coal individual is conversely traded as an growth and easily provides under countless trading &quot, share trading. With previously other foreclosed form shares in the cause, it can issue available to get on which the profitable measures are, share trading. THX :confused:, Barth from Afghanistan.

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Saturday, April 03, 2010 9:27 AM by Isi

Hello. The excellence of a gift lies in its appropriateness rather than in its value. Help me! It has to find sites on the: Vardenafil citrate 30ml. I found only this - <a href="www.partecipapesaro.it/.../Vardenafil">cheap levitra order vardenafil</a>. Patient empirical studies randy d, vardenafil. for anesthesia that cannot be explored with above, talk sought few globe with small trauma, vardenafil. Vardenafil, save c-spine with c-collar, product with at least 3 men of loads counseling. Thanks :eek:. Isi from Portugal.

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Tuesday, February 01, 2011 8:29 PM by PatIT

Hi Guys,

Where exactly do I give Read permissions to the users from the query ?

thanks

# ???Error in the Site Data Web Service.??? when performing crawl - Admins Goodies

Pingback from  ???Error in the Site Data Web Service.??? when performing crawl - Admins Goodies

# re: Error in the Site Data Web Service. (Value does not fall within the expected range.)

Thursday, September 22, 2011 9:41 PM by Stuart

Thank you for this post. It fixed our problem. We had about 30 accounts appear in the list. I assume the corrupted SIDs are a result of mass migrations from one domain to another.

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: