question

WinstonFroidPinto-1736 avatar image
0 Votes"
WinstonFroidPinto-1736 asked WinstonFroidPinto-1736 commented

Unable to create publishing subsite/activate publishing feature on team sites/publish infopath forms

  • We have migrated few of the site collection from sharepoint 2016 to 2019.l Everything was working fine ,meanwhile we also had done couple of other activities like moving db transaction logs to new drive and also migrate few users from old to new domain which by mistake also included couple of accounts as shown in the screenshot.
    115548-image.png

We are facing the following errors:

  1. Few of the infopath forms are not working, when I try to open the template manually using the URL https://site/listname/item/template.xsn it says access denied. I have tried deactivating and activating IPSiteFeatures but that didnt help.
    Here is the error obtained from ULS:
    System.UnauthorizedAccessException: Access denied., StackTrace:
    at Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(SPResourcePath path, ListDocsFlags listDocsFlags, Boolean throwException, SPBasePermissions& permMask)
    at Microsoft.SharePoint.SPFile.PropertiesCore(Boolean throwException)
    at Microsoft.SharePoint.SPFile.get_Exists()
    at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.<>c_DisplayClass11.<GetConvertedFile>b10(SPSite revertedSite)
    at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.AccessSiteUnderSystemAccount(SPSite site, VisitSite siteHandler)
    at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.GetConvertedFile(SPSite contextSite, SPFile originalFile, SolutionIdentity requestedSolutionId, VisitFile revertedFileHandler)
    at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.IsActivated(SPSite contextSite, SPFile originalFile)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.<>c
    DisplayClassc.<TryCreateSolutionMetaInformationForActivatedSolution>bb()
    at Microsoft.Office.InfoPath.Server.SolutionLifetime.SolutionCache.EnsureObjectInCache[T](String cacheId, ValidateCacheObject`1 validateCacheObject, CreateCacheObject`1 createCachedObject, AddToCache`1 cacheObject)
    at Microsoft.Office.InfoPath.Server.SolutionLifetime.SolutionCache.EnsureSolutionMetaInformationInCache(SolutionIdentity solutionId, String fileTag, CreateCacheObject`1 createCachedObject)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.TryCreateSolutionMetaInformationForActivatedSolution(SPSite contextSite, Uri absoluteSolutionUri, SolutionMetaInformation& solutionMetaInformation, InfoPathException& error, Boolean& isClientOnlyCrossServer)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.DetermineErrorInformation(SPSite contextSite, Boolean& isClientOnlyCrossServer, Uri absoluteSolutionUri, FormTemplate formTemplate, Boolean isCrossSiteException, SolutionMetaInformation& solutionMetaInformation, InfoPathException& error)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.TryCreateSolutionMetaInformationByUrl(SPSite contextSite, String xsnLocation, SolutionMetaInformation& solutionMetaInformation, String& absoluteSolutionLocation, InfoPathException& error, Boolean& isClientOnlyCrossServer)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.TryFetchMetaInformation(SPSite contextSite, String xmlLocation, String xsnLocation, String saveLocation, InfoPathXmlDocument document, DocumentMetaInformation& documentMetaInformation, SolutionMetaInformation& solutionMetaInformation, String& absoluteSolutionLocation, InfoPathException& error, Boolean& isClientOnlyCrossServer)
    at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.StartNewEditingSession()
    at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.EnsureDocument(EventLogStart eventLogStart)
    at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.<>c
    DisplayClassb.<LoadDocumentAndPlayEventLog>b_5()
    at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.ErrorPageRenderer.RunAndGetErrorRendererOnException(HttpContext context, EventLogStart eventLogStart, TryBlock tryblock, CatchBlock catchblock)
    at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.LoadDocumentAndPlayEventLog()
    at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBindHelper()
    at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnLoad(EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Control.AddedControl(Control control, Int32 index)
    at Microsoft.Office.InfoPath.Server.Controls.WebUI.BrowserFormWebPart.AssignFiles(Boolean ignorePostbackDataOnInit)
    at Microsoft.Office.InfoPath.Server.Controls.WebUI.BrowserFormWebPart.EnsureDataBinding()
    at Microsoft.Office.InfoPath.Server.Controls.WebUI.BrowserFormWebPart.get_WebPartContextualInfo()
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterRibbonTabs_SetWebPartContextualInfo(WebPartCollection pageWebParts)
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterRibbonTabs_RegisterClientScript(WebPartCollection pageWebParts, SPRibbon ribbon)
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterRibbonTabs()
    at Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPreRender(EventArgs e)
    at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Control.PreRenderRecursiveInternal()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    at System.Web.UI.Page.ProcessRequest()
    at System.Web.UI.Page.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)


Outer Exception: Activation could not be completed because the InfoPath Forms Services support feature is not present.. Stack trace:
at Microsoft.Office.InfoPath.Server.Util.InfoPathException.LogException(Exception e)
at Microsoft.Office.InfoPath.Server.Util.InfoPathLocalizedException..ctor(Ids id, String[] args)
at Microsoft.Office.InfoPath.Server.Util.InstalledSolutions.<IsSupportFeaturePresent>b_15(SPSite revertedSite)
at Microsoft.Office.InfoPath.Server.Util.InstalledSolutions.<>c
DisplayClass13.<IsSupportFeatureActiveNoCache>b12(SPSite revertedSite)
at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.AccessSiteUnderSystemAccount(SPSite site, VisitSite siteHandler)
at Microsoft.Office.InfoPath.Server.Util.InstalledSolutions.IsSupportFeatureActiveNoCache(SPSite site, Guid featureId, Action`1 actionIfFound)
at Microsoft.Office.InfoPath.Server.Util.InstalledSolutions.IsSupportFeaturePresent(SPSite site, Guid featureId)
at Microsoft.Office.InfoPath.Server.Util.InstalledSolutions.IsSupportFeaturePresent(SPSite site)
at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.AutoCreateConvertedFile(SPSite revertedSite, String originalFileServerRelativeUrl)
at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.<>c
DisplayClass19.<IsActivated>b17(SPSite revertedSite, String originalFileServerRelativeUrl, SPFile convertedFile)
at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.AccessSiteUnderSystemAccount(SPSite site, VisitSite siteHandler)
at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.GetConvertedFile(SPSite contextSite, SPFile originalFile, SolutionIdentity requestedSolutionId, VisitFile revertedFileHandler)
at Microsoft.Office.InfoPath.Server.Administration.NonAdminSolution.IsActivated(SPSite contextSite, SPFile originalFile)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.<>c
DisplayClassc.<TryCreateSolutionMetaInformationForActivatedSolution>bb()
at Microsoft.Office.InfoPath.Server.SolutionLifetime.SolutionCache.EnsureObjectInCache[T](String cacheId, ValidateCacheObject`1 validateCacheObject, CreateCacheObject`1 createCachedObject, AddToCache`1 cacheObject)
at Microsoft.Office.InfoPath.Server.SolutionLifetime.SolutionCache.EnsureSolutionMetaInformationInCache(SolutionIdentity solutionId, String fileTag, CreateCacheObject`1 createCachedObject)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.TryCreateSolutionMetaInformationForActivatedSolution(SPSite contextSite, Uri absoluteSolutionUri, SolutionMetaInformation& solutionMetaInformation, InfoPathException& error, Boolean& isClientOnlyCrossServer)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.DetermineErrorInformation(SPSite contextSite, Boolean& isClientOnlyCrossServer, Uri absoluteSolutionUri, FormTemplate formTemplate, Boolean isCrossSiteException, SolutionMetaInformation& solutionMetaInformation, InfoPathException& error)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.TryCreateSolutionMetaInformationByUrl(SPSite contextSite, String xsnLocation, SolutionMetaInformation& solutionMetaInformation, String& absoluteSolutionLocation, InfoPathException& error, Boolean& isClientOnlyCrossServer)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.FormInvocation.TryFetchMetaInformation(SPSite contextSite, String xmlLocation, String xsnLocation, String saveLocation, InfoPathXmlDocument document, DocumentMetaInformation& documentMetaInformation, SolutionMetaInformation& solutionMetaInformation, String& absoluteSolutionLocation, InfoPathException& error, Boolean& isClientOnlyCrossServer)
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.StartNewEditingSession()
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.EnsureDocument(EventLogStart eventLogStart)
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.<>c
DisplayClassb.<LoadDocumentAndPlayEventLog>b_5()
at Microsoft.Office.Server.Diagnostics.FirstChanceHandler.ExceptionFilter(Boolean fRethrowException, TryBlock tryBlock, FilterBlock filter, CatchBlock catchBlock, FinallyBlock finallyBlock)
at Microsoft.Office.InfoPath.Server.DocumentLifetime.ErrorPageRenderer.RunAndGetErrorRendererOnException(HttpContext context, EventLogStart eventLogStart, TryBlock tryblock, CatchBlock catchblock)
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.LoadDocumentAndPlayEventLog()
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBindHelper()
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at Microsoft.Office.InfoPath.Server.Controls.WebUI.BrowserFormWebPart.AssignFiles(Boolean ignorePostbackDataOnInit)
at Microsoft.Office.InfoPath.Server.Controls.WebUI.BrowserFormWebPart.EnsureDataBinding()
at Microsoft.Office.InfoPath.Server.Controls.WebUI.BrowserFormWebPart.get_WebPartContextualInfo()
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterRibbonTabs_SetWebPartContextualInfo(WebPartCollection pageWebParts)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterRibbonTabs_RegisterClientScript(WebPartCollection pageWebParts, SPRibbon ribbon)
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.RegisterRibbonTabs()
at Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags).

I went to infopath 2013 and tried to republish the form again on which i get this error:
infoPath cannot connect to the server. The server may be offline, your computer might not be connected to the network, or InfoPath Forms Services might not be enabled on the server. To fix this problem, start by checking your network connection, and then trying again.

  1. cannot create publishing sites it gives attached error but user has full control on device channels and master page gallery
    Unexpected error when trying to populate mobile mappings file 'catalogs/masterpage/_DeviceChannelMappings.aspx' in web '/sites/eng/qqq': <nativehr>0x80070005</nativehr><nativestack>owssvr.dll: (unresolved symbol, module offset=00000000001BEEC8)
    at 0x00007FFFDD83EEC8 Microsoft.SharePoint.Library.ni.dll: (unresolved symbol, module offset=00000000000B5AD9)
    at 0x00007FFFE2625AD9 </nativestack>Access denied.


115588-image.png







sharepoint-devwindows-server-infrastructure
image.png (4.9 KiB)
image.png (89.4 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered

Hello @winstonfroidpinto-1736 ,

Welcome to Q&A Forum!

Please following steps:

1.Open the infopath form

2.Go to Form tab >> Advanced form options

115843-info1.png

3.On the Form Options page, click on Versioning

4.Select "Automatically update the template (recommended)" option from "Update template" drop-down box

5.Select "Automatically upgrade existing forms" option from "Update existing forms" drop-down box
Publish and upload this infopath form

115823-info2.png

Thanks,
Echo Du
=====================================
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





info1.png (38.9 KiB)
info2.png (13.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

WinstonFroidPinto-1736 avatar image
0 Votes"
WinstonFroidPinto-1736 answered EchoDu-MSFT edited

Hi,

Thank You , the option 'Automatically upgrade' was already active.
The same list when moved to other site collection works so its something to do with only this site collection.
On quick publish it prompts user name and password, I try to give a site admin account but it doesn't accept.

When i try to open template manually using url https://site/listname/item/template.xsn it says access denied
Even publishing subsite creation says access denied for user who is site admin and full control.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @winstonfroidpinto-1736 ,

Try de-activating and reactivating the "SharePoint Server Enterprise" features at both the site collection and the site level.

115804-c1.png

115805-c2.png

We recommend that you can install the latest security update for SharePoint Server 2019.

Every time a package is successfully installed, you need to run the SharePoint Products Configuration Wizard.

Thanks,
Echo Du
================================
You can directly click “Comment” option under “My Answered” to put forward your opinions and thoughts about solution that I propose.








0 Votes 0 ·
c1.png (8.8 KiB)
c2.png (7.7 KiB)
WinstonFroidPinto-1736 avatar image
0 Votes"
WinstonFroidPinto-1736 answered WinstonFroidPinto-1736 commented

Hi,

Feature deactivation and activation did not work, when i try to open form it gives error as attached:
We tried Disable-SPFeature "IPFSSiteFeatures" -url "http://yourwebapp";
Enable-SPFeature "IPFSSiteFeatures" -url "http://yourwebapp";
this did not work
115911-image.png

I have attached screenshot of the current version of updates installed. Can we proceed with installing these two updates?

115864-image.png



image.png (17.8 KiB)
image.png (75.9 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @winstonfroidpinto-1736 ,

Thanks for your reply.

According to the screenshot information you provided, I can know that your current environment uses the (16.0.10373.20000) language pack of April 2021 and the (16.0.10374.20000) code pack of May 2021.

You can install these two updates.

Thanks,
Echo Du

0 Votes 0 ·

Hi @winstonfroidpinto-1736 ,

Would you tell me whether your issue has been resolved or have any update?
I am looking forward to your reply.

Have a nice day!

Thanks,
Echo Du

0 Votes 0 ·

120933-image.png



Hi,

Still facing same issue.

0 Votes 0 ·
image.png (69.3 KiB)