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
Sam.arjSam.arj 

VF page in customer portal: No profiling information for SOQL operations.

I have a Customer portal and force.com Site working together.

 

Under the customer portal profile I have added a visualforce page which needs run SOQL code and DML operations.

 

When go to the URL of my site:

 https://myorg.sandboxName.cs1.force.com/mysite/myVF-Page

 

It prompts me to login and authenticate, prefect so far...

 

However when I login, it forwards me to "Unauthorized" page with a message that says:

Error: Error occurred while loading a Visualforce page. 

 

I enabled the Debug log for that user and these are the things I see in the log file:

 


Cumulative profiling information:

No profiling information for SOQL operations.

No profiling information for SOSL operations.

No profiling information for DML operations.

No profiling information for method invocations.


Ihave no idea how to fix this problem, the custom profile that is clonedfrom "Customer Portal Manager Standard" profile has "API enabled" set.

What else should I do to make this work?

 

Demo29Demo29
Have you checked the public access settings for the site? From there you can assign which visual force pages and apex classes can be accessed by the site user