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

vf page is not getting loaded

I have a vf page and I have given vf page and controller acces to the profile. But still the vf page  is not getting loaded for that profile.
Any idea on why this might be happening?
Thanks in advance.
SwethaSwetha (Salesforce Developers) 
HI Shahala,
As first troubleshooting step, try setting up debug logs for a working profile and nonworking profile and see where there are differences.

Also, check if the nonworking profile has access permission to the objects being referenced by the controller.
mukesh guptamukesh gupta
Hi Shahala,

Means your apex class may have any errors that's why they will not allow to load VF page. So please open Developer console and check in logs

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

I have given the  permission to the objects and fields. The VF page is not even getting loaded so debug logs are not getting loaded.
Siva Krishna KondapalliSiva Krishna Kondapalli
May be You are working with too much data.  there is limit on page load from salesforce. if It takes more than than page will not load.
See here

Please Upvote if this helps.
K.Siva Krishna
saianil kondurisaianil konduri
Shahala Hakkim
please find the user record for these checkboxs  are enabled or not.
k.sai anilUser-added image