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
Harsh P.Harsh P. 

Error occurred while loading a Visualforce page.

while I am trying to proceed button getting the Following error:
 "Error occurred while loading a Visualforce page."
I have search on google but not getting exact solution on this.
Please help me to out from this issue.
Best Answer chosen by Harsh P.
Ajay K DubediAjay K Dubedi
Hi Harsh,

you can post your question with a screenshot or related code because in sometimes happen a mistake to pass
URL(if you give a URL to your visualforce page) or any other minor mistake. I hope this will help you,
you can try one thing in standard exception Page you will find one line as shown below

<apex:param value="{!error.messages}" />
      or
<apex:param value="{!error.description}" />

Try this and reload your page.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi

All Answers

Ajay K DubediAjay K Dubedi
Hi Harsh,

you can post your question with a screenshot or related code because in sometimes happen a mistake to pass
URL(if you give a URL to your visualforce page) or any other minor mistake. I hope this will help you,
you can try one thing in standard exception Page you will find one line as shown below

<apex:param value="{!error.messages}" />
      or
<apex:param value="{!error.description}" />

Try this and reload your page.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi
This was selected as the best answer
Raj VakatiRaj Vakati
Are you trying to access this from Sites? 
Can you setup some debug logs and see why its failing ??  you may able to see the failure exception in the error logs