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
Mayank_JoshiMayank_Joshi 

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 force.com(using 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.

bob_buzzardbob_buzzard

Have you made the page available to the site?

Mayank_JoshiMayank_Joshi

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.

 

 

bob_buzzardbob_buzzard

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

nagasnagas

what s the error its showing when u tried to deploy

Mayank_JoshiMayank_Joshi

Now i have same problem in both sandbox and production.

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

ERROR is:

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

If you were attempting to opt out of emails, "

 

 thanks for advance.