Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

PropertyIsPrivateException when reader clicks link

  Asked By: Aurelio    Date: Mar 31    Category: Sharepoint    Views: 934

At a client's SharePoint Portal SP2 intranet, we have the following
issue:

(NT-Authority\Authenticated Users get Reader role on the Portal and
may have Member role as wel, but I'm not sure...)

A reader role user clicks an area's contact link to see the public
MySite, but an error occurs and the mysite public pageis not
displayed.
The Portal log contains:
01C2A0B8 UNK 00000000 0000139C Url
Path: "/MySite/Public.aspx"<BR>

01C2A0C7 UNK 00000000 0000139C ShipAssert 0000
Microsoft.SharePoint.Portal.UserProfiles.UserProfile.get_Item(String
strPropName), Unhandled exception caught during execution of
Microsoft.SharePoint.Portal.PageBase::ErrorHandler(). Exception
information: Exception information:
Microsoft.SharePoint.Portal.UserProfiles.PropertyIsPrivateException:
Property Is Private: You do not have the rights to access this
private property.
at Microsoft.SharePoint.Portal.UserProfiles.UserProfile.get_Item
(String strPropName)
at Microsoft.SharePoint.Portal.UserProfiles.UserProfile.get_Item
(String strPropName)
at
Microsoft.SharePoint.Portal.WebControls.PersonalSpacePublicRedirect.a
(Object A_0, EventArgs A_1)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(), Exception information:
Microsoft.SharePoint.Portal.UserProfiles.PropertyIsPrivateException:
Property Is Private: You do not have the rights to access this
private property.
at Microsoft.SharePoint.Portal.UserProfiles.UserProfile.get_Item
(String strPropName)
at Microsoft.SharePoint.Portal.UserProfiles.UserProfile.get_Item
(String strPropName)
at
Microsoft.SharePoint.Portal.WebControls.PersonalSpacePublicRedirect.a
(Object A_0, EventArgs A_1)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain()<BR>

PropertyIsPrivateException is thrown when an unauthorized user tries
to write a user profile item of another user, according to the MSDN
documentation. I tried to see what condition triggers this exception,
but Lutz' Reflector can't decode "PersonalSpacePublicRedirect.a()".

A administrator role user has absolutely no problems, just the reader
role user. I've tested the situation where the MySite of the target
user had not been created yet, still the Public.ASPX shows public
Profile data of the target user.

We do have custom Profile fields, and some fields are mapped to
active directory properties.

According to the exception in the logfile, SharePoint seems to try to
change a profile field of the target user, but WHY?

Does anyone have any leads to check for?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Joanne Greer     Answered On: Mar 31

Well, my client solved the issue:
Someone had set the "PublicSiteRedirect" profile field to "private".
Resetting it to "public" field solved it.

 
Didn't find what you were looking for? Find more on PropertyIsPrivateException when reader clicks link Or get search suggestion and latest updates.