Find your content:

Search form

You are here

Permission problem in sales forece


My URL :- This is a site URL... I am showing a page if user will fire this URL..

While running this URL i am getting some permission problem --

What i have tried -- Try to modified profile setting for assigning permission set and all.. But no use.

I followed some documentation for visual force.. But unable to figure out.

Attribution to: Javascript Coder

Possible Suggestion/Solution #1

In the configuration of your Site (setup>app setup> develop > sites), the page should be added to the Site Visualforce pages if you want to access it as a guest user.

Clicking the public access button will allow you to set the guest profile settings, i'm not sure if you can do that through permission sets. Pages you add to the Site Visualforce pages will already be added to the profile.

Attribution to: Samuel De Rycke

Possible Suggestion/Solution #2

I have a lot of experience with this, and can probably help you.

Can you go to sites and get the name and URL of the site? Often, unless your site is the "root", the URL needs to be URL/sitename/pagename and URL/pagename will give you that error.

As far as debugging sites, there's a good question about that

Often, you can get this page if there's a visualforce error of some sort (unhandled exception) because sites permissions don't let share that error with guests so you get the awful progression of your page>error page>auth error.

So use the debug trail to find out what's happening.

Attribution to: Shane McLaughlin
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content