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

Problem in deploying vf page from sandbox to production.

Unable to deploy a visual force page on my salesforce, this is working on the sandbox but it is not working  on the production one.


If this vf page is on sites) then do I need to active 'Customer portal from SETUP.

Actually VF page is having Authorization error while i click on button.


Reply soon.


Have you made the page available to the site?


Hi Bob,


vf page is in sites. And Sites is active. But it is not working. For this do I need to 'active' Enable Customer Portal from Customer portal settings.




Are the object/fields that the page/controller access available to the sites user profile?


what s the error its showing when u tried to deploy


Now i have same problem in both sandbox and production.

but it shows some problem in code i think could you help me out 


"sorry, the URL that you used to reach this page is invalid.

If you were attempting to opt out of emails, "


 thanks for advance.