[SalesForce] Insufficient Priviliges to access the User related Contact(Lookup) record

If i am having a User as a OverageHighVolumeCustomerPortal profile, it contains the Contact Lookup field. If i clicks the Contact Lookup then it throws the error like this:

Insufficient Privileges You do not have the level of access necessary
to perform the operation you requested. Please contact the owner of
the record or your administrator if access is necessary.

I check all profile access level OWD,fieldsecurity,Object settings,Systempermissions everything is fine but it throw the error like this it doesn't it show the user related contact record.How to resolve this one?

Regards
Venkat

Best Answer

So it's not a real contact, it's a person account (means you have Contact OWD set to "Controlled by parent")...

Still, same logic as described in my comment applies - click the [Sharing] button, expand the list and check if that user is present on the list for that record.

If he isn't - you'll have to fix sharing by doing any of these:

  • changing OWD for Accounts to Public Read Only or better
  • creating a sharing rule
  • making him owner of that person account
  • adding an entry in AccountShare table (in UI it's under the Sharing button) or making him an Account Team Member
  • if the view page is overridden with visualforce page + controller - you could try using "without sharing" in the class definition.

Pick carefully, the first 3 solutions can have huge impact on your organization's data visibility.