Wednesday, September 28, 2016

The custom code in the form cannot be run This functionality may be deactivated on the server InfoPath Issue in SharePoint

"The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
Click OK to resume filling out the form. You may want to check your form data for errors."

This is the below issue.
Problem is "Microsoft SharePoint Foundation Sanboxed Code Service" is stopped.
Restart the "Microsoft SharePoint Foundation Sanboxed Code Service".
Then check InfoPath now. I hope it should work.