I am doing unmanaged package containing App within it.After I press upload button I get the below error as "Visualforce page does not have valid controller for use with action" enter image description here

Any help is appreciated!

  • 1
    Is the controller included? Feb 19, 2019 at 16:05
  • yes , I have included standardcontroller and extension as well.
    – Ashwini
    Feb 20, 2019 at 4:21

1 Answer 1


If the Visualforce page uses a custom controller, you need to include that Apex Class as well. You can check the first line of the VF page. If the <apex:page> tag contains "controller=" and/or "extensions=" then you need to include the class(es) named there.

  • hi @Brian Oconnell I have include standardcontroller and extensions also. but still ocurring same error.
    – Ashwini
    Feb 20, 2019 at 4:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.