The method “GetItems” of the type “List” with ID {..} is blocked by administrator on the server
Posted on: May 13, 2011
Have you ever faced this error on a MOSS 2010 website. Here is a scenario that I came across.
We are launching a Public facing website which is built on top of MOSS 2010. When we are testing the site in QA environment enabling the Anonymous access on the Extended Web App, we started getting this error when we are accessing the lists using Client Object Model.
So basically this an error that we normally get when there is an Anonymous site which has Client Object Model used which is accessing the lists on the site.
Fix,
Open SharePoint 2010 Management Shell (Or Open Power Shell and Load MOSS Modules)
Insert command Get-ExecutionPolicy (This will show the current Execution Policy – Make a note of it).
$webapp = Get-SPWebApplication “<<your web URL which is having the issue>>”
$webapp.ClientCallableSettings.AnonymousRestrictedTypes.Remove([microsoft.sharepoint.splist], “GetItems”)
$webapp.Update()
Now that you have changed the settings, revert back the Execution Policy to what ever it was earlier.
Set-ExecutionPolicy <<What ever it was earlier>>
Hope this will help.
3 Responses to "The method “GetItems” of the type “List” with ID {..} is blocked by administrator on the server"
[...] Original Post admin on June 11, 2012 | Filed Under SharePoint 2010 [...]
[...] found solution on this blog. But I googled a bit more & found interesting details so sharing them. Thanks to the [...]

August 28, 2011 at 4:15 pm
Doesn’t work in Office 365 hosted by Microsoft