Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

PropertyIsPrivateException when reader clicks link of someone'

  Asked By: Bridget    Date: Feb 07    Category: Sharepoint    Views: 922

At a client's SharePoint Portal 2003 SP2 NL 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: Anibal Baird     Answered On: Feb 07

What Web Parts do you have on Public.aspx? If you remove all the Web
Parts using the contents=1 QueryString parameter, does the error go
away? As you add the Web Parts back to the page, which Web Part causes
the error to occur?