Save using custom code is not supported in InfoPath Forms Services.To fix this problem, remove this event and its related ...

Save using custom code is not supported in InfoPath Forms Services.To fix this problem, remove this event and its related code. Click the File tab and click Form Options on the Info tab. In the Save category, under Save Behavior, click Edit, remove all code, and then clear the \"Save using custom code\" check box.