When do we get Object type not accessible error message on a Visualforce/Standard Page
|Knowledge Article Number||000126972|
|Description||When you are getting the following error on any Visual Force Page/ Standard Page :
Content cannot be displayed: Object type not accessible. Please check permissions and make sure the object is not in development mode: Query is either selecting too many fields or the filter conditions are too complicated.
Possible Cause of the error:
1. Object may be in "Development" Stage.
2. The VF page is referencing large number of Formula Fields and the query to compute the Value for the Formula Field is getting very complex.
|Resolution||The workaround of the issue :
1. Divide the VF page into two parts. Put some fields on one page and remaining Fields on another page.
2. Or you can Comment out the fields which are less required.