We are encountering an error while activating features for info-path form on site collection.Earlier It was working fine but when we deactivate info path feature on site collection and try to activate again with updated info path form its giving below error.
Feature receiver assembly 'Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c', class 'Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver', method 'FeatureActivated' for feature '86e128c1-8d91-9809-ac8a-7b77e8a2159b' threw an exception: System.ArgumentException:Invalid field name. {c042a256-787d-4a6f-8a8a-cf6ab767f12d} at Site Collection url at Microsoft.SharePoint.SPFieldCollection.GetFieldById(Guid fieldId, Boolean bThrowException) at Microsoft.SharePoint.SPFieldCollection.get_Item(Guid id) at Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver.UpdateContentType(SPContentType contentType, String serverRelativeUrl, FormTemplate formTemplate) at Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver.CreateOrUpdateContentTypes(SPSite currentSite, String serverRelativeUrl, FormTemplate formTemplate) at Microsoft.Office.InfoPath.Server.Administration.XsnFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.SPFeature.DoActivationCallout(Boolean fActivate, Boolean fForce)