Support Article
Survey with 120 questions throwing exception on save
SA-18864
Summary
When saving a survey which has a 100+ questions an exception is observed preventing save. If the questions is reduced to under 100 the survey may be submitted.
Error Messages
"The code of the method executed is exceeding 65535 bytes limit"
Steps to Reproduce
Create a survey with 100+ questions and try to submit it.
Root Cause
A software use or operation error. A survey should not be created with that many questions on a single page. They survey should be grouped into related "question pages" and configured to only display a single question page at a time or should be broken up into multiple surveys.
Resolution
Perform the following local-change: The developers chose to break the survey into multiple surveys.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.