function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sushmaiyer2@gmail.comsushmaiyer2@gmail.com 

Insufficient Privileges for system administrator

Hi All,

I am Creating a Simple VF Page for adding it to me Salesforce Site.

The page contains a Link for a Survey and the link is as follows :-

https://c.ap1.visual.force.com/apex/TakeSurvey?id=a009000000AgSNmAAN&cId=none&caId=none

But when i am clicking on the link it shows the following :-


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.


What could be the issue please help....My profile is of System Administrator,still not able to access the page.

Best Answer chosen by Admin (Salesforce Developers) 
Devendra@SFDCDevendra@SFDC
Hi,

As a site user, you might not have the permission to access the record.

Check the Object level permissions from Guest User profile, also the sharing settings.

Thanks,
Devendra

All Answers

Devendra@SFDCDevendra@SFDC

Hi,

 

You must have create a site. So you need to provide access of that visualforce page to Site user.

 

You can do this Setup--> Develop-->Sites-->Click On Site--> Click on Public Access Settings Button and Add the Visualforce page is Visualforce Page Access section.

 

Hope this helps :)

 

Thanks.

Devendra

sushmaiyer2@gmail.comsushmaiyer2@gmail.com
Hi Devendra,

I have done these steps but still getting the issue...
Devendra@SFDCDevendra@SFDC
Hi,

As a site user, you might not have the permission to access the record.

Check the Object level permissions from Guest User profile, also the sharing settings.

Thanks,
Devendra
This was selected as the best answer