Monday 6 February 2012

Error when publishing InfoPath form containg sandboxed code to a SharePoint form library


When I tried to publish an InfoPath form with codebehind to a form library, I got the error "The form template has been published to the server but it can only be opened in the InfoPath Filler". And it complained that there is something wrong with the InternalStartup method in the code. It turned out has something to do with the fact that the machine (VM) I published to is also acting as a domain controller. Changing the permission setting of 3 registry keys will resolve the issue.

http://support.microsoft.com/kb/2026191

No comments:

Post a Comment