Skip Ribbon Commands
Skip to main content
Benoit s Corner

Benoit's corner

December 04
SharePoint – August cumulative update and search results from anonymous web site

UPDATE - 05/12/2010

Executing this script is granting permission to anonymous user to collaborate - ie adding content on SharePoint sites. Be careful with it

 

As explained on my previous post, the SharePoint August Cumulative update is disturbing search results from anonymous SharePoint sites.

Here is an update, while Microsoft Support is still investigating:

the issue is coming from the SPWeb.AnonymousPermMask64 attribut which defines anonymous permissions.

The support engineer which is working on the case provides me a PowerShell script which change these permissions and solved the issue (at least for the moment). This script has to be executed for EACH site collection.

 

[void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")

$siteUrl = "<include here the site collection URL>";
$site = New-Object Microsoft.SharePoint.SPSite($siteurl);
$web = $site.OpenWeb();

Write-Host $web.AnonymousPermMask64;
$web.AnonymousPermMask64 = 68719677555;
$web.Update();
Write-Host $web.AnonymousPermMask64;

$web.Dispose();
$site.Dispose();

​Due to a bug in the product, anonymous comments is currently disabled

Sorry about that

 Error

Web Part Error: Access denied. You do not have permission to perform this action or access this resource. Correlation ID: 3a1ca79c-0b38-6045-8e4c-de995804d8aa.

​Privacy Information

This blog is using tracking code for analytics purpose.

No personal data are stored and maintained.

 ‭(Hidden)‬ Blog Tools

 Copyright

 Follow Me On

 Share This

 Translation Tool

Translate this page