When I try to upload an Administrator Approved form template I get the following error.
Object reference not set to an instance of an object. at Microsoft.Office.InfoPath.Server.Util.FeatureGenerator.FeatureNameByFeatureId(SPFarm farm, Guid existingFeatureId)
at Microsoft.Office.InfoPath.Server.Util.FeatureGenerator.EnsureNames(FormTemplate existingTemplate)
at Microsoft.Office.InfoPath.Server.Util.FeatureGenerator.GenerateFeatureInternal(String filePathXsn, String folderPathToFeature, FormTemplate existingTemplate, Boolean upgradeGradual)
at Microsoft.Office.InfoPath.Server.Util.FeatureGenerator.GenerateUpgradeFeature(String filePathXsn, String folderPathToFeature, FormTemplate exisitngTemplate, Boolean upgradeGradual)
at Microsoft.Office.InfoPath.Server.Administration.FormTemplateCollection.CreateWspInternal(String sourceName, String targetFolder, FormTemplate existingFormTemplate, UpgradeType upgradeType, Guid featureId, String featureName, String& physicalSolutionName, Guid& finalFeatureId)
at Microsoft.Office.InfoPath.Server.Administration.FormTemplateCollection.CreateUpgradeWsp(String sourceName, FormTemplate existingTemplate, UpgradeType upgradeType, String targetFolder, String& physicalSolutionName)
at Microsoft.Office.InfoPath.Server.Administration.FormTemplateCollection.TryUpgradeFormTemplate(String solutionPath, UpgradeType upgradeType, ConverterLog& converterLog)
at Microsoft.Office.InfoPath.Server.Administration.FormTemplateCollection.UpgradeFormTemplate(String solutionPath, UpgradeType upgradeType)
at Microsoft.Office.InfoPath.Server.ApplicationPages.UploadFormTemplatePage.<>c__DisplayClass1.<ButtonOkClick>b__0(String sourceName)
at Microsoft.Office.InfoPath.Server.ApplicationPages.UploadFormTemplatePage.HandleFiles(HandleFile fileHandler)
at Microsoft.Office.InfoPath.Server.ApplicationPages.UploadFormTemplatePage.ButtonOkClick(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Please help.