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've been investigating an issue recently where the system/farm account received Native Code HRESULT Access Denied exceptions from SPRequest trying to access several folders in a large list.

Deep analysis shows that there are about 200 thousand items separated in folders according to recommendations and there are about 670 unique permissions in the site collection and 6 (six) SPFolders have NULL Permisions assigned according to the TVF used there (by ScopeId).

[Update] 500 INTERNAL SERVER ERROR is rendered when browsing to these folders [/Update]

The 6 SPFolders appear to have NO permissions assigned: looked into a copy of content DB table Perms and view Docs where left-joining by ScopeId gives NULL on the Perms side. Actually there are matches in Perms where Perms.ScopeUrl = Docs.DirName+'/'+Docs.LeafName but ScopeIds differ.

How should I get on with it?

share|improve this question

3 Answers 3

You could try setting a web application policy to give yourself (or someone else) permissions and then browse to the folders to set the proper permissions on it.

share|improve this answer
    
Hi, Mirjam, I tried that before and I tried it again after your suggestion. It doesn't work. –  Alexey Krasheninnikov Nov 26 '10 at 3:48
    
And welcome to SPOverflow! –  Alexey Krasheninnikov Nov 26 '10 at 4:11

I've experienced the same problem a year ago with combination large library + lot of permissions and pretty much just gave up. I suggest calling MS for support on how to do this, perhaps they can fix the database.

P.S. I Tried evertything permission wise and nothing helped, not even logging as the service account for the app pool itself.

share|improve this answer
up vote 0 down vote accepted

It was a while ago, and the database was already unsupportable, but we fixed it by finding the scopes with missing perms or vice versa in a backup and resetting the ACL to that of parent container with a SQL UPDATE query. As this is unsupported, any further details could only be provided privately.

share|improve this answer

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.