Sunday, January 06, 2008

Unknown Error on Manage Form Templates Page (Manageformtemplates.aspx)

Getting Unknown Error on this page?.

No helpful clue in Sharepoint log or Event Viewer?


This can happen if database record in the list of published InfoPath forms had a null where it shouldn't be.


Thanks to this blog, there is small code snippet given here which will delete the culprit entry.


http://geekswithblogs.net/HammerTips/archive/2007/12/07/unable-to-manage-form-templates.aspx



But make sure that you run this script under the debugger and only execute the delete operation for the offending form, otherwise it will delete all the published forms in your farm.

No comments: