Merge using custom code is not supported in InfoPath Forms Services.To fix this problem, remove any code associated with ...

Merge using custom code is not supported in InfoPath Forms Services.To fix this problem, remove any code associated with merging forms. Click the File tab and click Form Options on the Info tab. In the Advanced tab, under Merge Forms, click Edit, remove all code, and then clear the \"Merge using custom code\" check box.