Skip to main content

Error "The server encountered an error processing request. The exception message is 'Invalid field name...'" Publishing Forms

  • 26 March 2021
  • 0 replies
  • 230 views

ISSUE
When publishing a Nintex form, the following error might occur:

The server encountered an error processing request. The exception message is 'Invalid field name. {xxxxxxxx-x}

 

ERROR CODE
Example ULS Log:  12/07/2015 00:56:12.58 w3wp.exe (0x40FC) 0x6848 Nintex Forms Front End 00000 Unexpected Failed to Publish Nintex Form. Error: Invalid field name. {78eae64a-f5f2-49af-b416-3247b76f46a1} https://sitename.net . Stack trace: at Microsoft.SharePoint.SPFieldCollection.GetFieldById(Guid fieldId, Boolean bThrowException) at Nintex.Forms.SharePoint.Helper.EnsureFieldExists(SPContentType contentType, Guid fieldId, Boolean hidden) at Nintex.Forms.SharePoint.Helper.EnsureFormDataFieldExists(SPContentType contentType) at Nintex.Forms.SharePoint.Services.NfWcfService.ChangeContentTypeSettings(SPContentType contentType) at Nintex.Forms.SharePoint.Services.NfWcfService.PublishForm(String contentTypeId, String listId, Form form) 63be489d-7f79-b0bd-9d1c-1deb536abd97
RESOLUTION
Re-install the default fields for the affected site collection(s) using the following PowerShell commands:
stsadm -o deactivatefeature -name Fields -url http://sitecoll  stsadm -o activatefeature -name Fields -url http://sitecoll   Disable-SPFeature -Identity ca7bd552-10b1-4563-85b9-5ed1d39c962a -Url http://SITECOLLECTION.COM  Enable-SPFeature -Identity ca7bd552-10b1-4563-85b9-5ed1d39c962a -Url http://SITECOLLECTION.COM 
ADDITIONAL INFORMATION
The field mentioned is the GUID for the FormData field, this is a hidden field being used by Nintex Forms. If this has become corrupted, or is not created correctly to start with, the publish will fail.
RELATED LINKS

0 replies

Be the first to reply!

Reply