After migration from SharePoint 2010 to SharePoint 2013 , to SharePoint 2016, search does not work.

May 14, 2017

Case:
Windows Server 2016 + SharePoint 2016 +SQL Server 2016
1 App Server + 1 Web front end
Issue:
After migration from SharePoint 2010 to SharePoint 2013 , to SharePoint 2016, search does not work.
Search throws exception as:
System.ServiceModel.FaultException: An error occurred when verifying security for the message. --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request

Advance search throws object null exception as :
AdvancedSearchBox class encountered unexpected error: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Office.Server.Search.Query.ConsumerScopeCache.GetScopes() at Microsoft.Office.Server.Search.Query.ScopeCache.GetSharedScopes() at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.GetScopeEnumerator(ScopeInformation& defaultScope) at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.CreateScopeRows(Table parentTable) at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.CreateScopingSectionChildControls(Table parentTable) at Microsoft.Office.Server.Search.WebControls.AdvancedSearchBox.CreateChildControls().

Solution:
Tried following checklist as:

    verified that the SharePoint Web Services site existed in IIS, and that SecurityTokenServiceApplication existed as a virtual directory.
    Related application pool that are working
    Created new Search Service application and changed the association.
    Done a full crawl
    Did index reset

Run SharePoint configuration wizard again.
Finally, issue was related to time difference b/w application server and Web front end.
They were in different time zone. Fixed time zones, all above exceptions solved.


SharePoint 2016 + Windows Server 2016 -Microsoft WCF Data Services 5.6 as error

April 8, 2017

Case:
SharePoint 2016 + Windows Server 2016
Problem:
Pre-Requist wizard fails to install Microsoft WCF Data Services 5.6 as error as:

“configuration error”
So solution is to download and install WCF data service manually. As a result Pre-Requist wizard shows that WCF Data Service can be installed successfully. Wizard succeeds.
When Farm configuration wizard is run, Wizard fails with following error.

04/06/2017 11:49:01 9 INF The parameter localserverrole is chosen, so returning the value as SingleServerFarm
04/06/2017 11:52:09 9 ERR Task configdb has failed with an unknown exception
04/06/2017 11:52:09 9 ERR Exception: Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details.
at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions()
at Microsoft.SharePoint.Upgrade.SPActionSequence.get_Actions()
at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal()
at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionBeforeMajorVersion(Type typeActionSequence, Int32 majorVer)
at Microsoft.SharePoint.Upgrade.SPSiteSequence.get_PreviousTargetSchemaVersion()
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.PopulateSequencesTable(StringBuilder sqlstr, Boolean siteSequence)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ConstructSiteNeedsUpgradeQuery(Guid siteId)
at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.GetSiteNeedsUpgrade(SPUpgradeSession session, SPContentDatabase database, Dictionary`2& dictSitesNeedUpgrade, Dictionary`2& dictSitesNeedFeatureUpgrade)
at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.AddNextLevelObjects()
at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, Boolean bRecursing, SPDelegateManager delegateManager)
at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, SPDelegateManager delegateManager)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse)
at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalUpgradeStatus()
at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalProductVersions(SPProductVersions prodVer)
at Microsoft.SharePoint.Administration.SPServerProductInfo.UpdateProductInfoInDatabase(Guid serverGuid)
at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
04/06/2017 11:52:09 9 INF Entering function Common.BuildExceptionMessage

ULS logs at that time suggest following directions.

04/06/2017 19:34:01.06 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywv Medium 04/06/2017 19:34:01.06 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywv DEBUG Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.Edm, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Failed to call GetTypes() 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.50 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Upgrade ajywy Unexpected 04/06/2017 19:34:02.50 psconfigui (0x00B8) 0x027C SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. 00000000-0000-0000-0000-000000000000
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected Joining Farm failed. The exception type is Microsoft.SharePoint.Upgrade.SPUpgradeException The exception is One or more types failed to load. Please refer to the upgrade log for more details. StackTrace is at Microsoft.SharePoint.Upgrade.SPActionSequence.LoadUpgradeActions() at Microsoft.SharePoint.Upgrade.SPActionSequence.get_Actions() at Microsoft.SharePoint.Upgrade.SPActionSequence.get_ActionsInternal() at Microsoft.SharePoint.Upgrade.SPUtility.GetLatestTargetSchemaVersionBeforeMajorVersion(Type typeActionSequence, Int32 majorVer) at Microsoft.SharePoint.Upgrade.SPSiteSequence.get_PreviousTargetSchemaVersion() at Microsoft.SharePoint.Upgrade.SPUpgradeSession.PopulateSequencesTable(StringBuilder sqlstr, Boolean siteSequence) at Microsoft.SharePoint.Upgrade.SPUp...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected ...gradeSession.ConstructSiteNeedsUpgradeQuery(Guid siteId) at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.GetSiteNeedsUpgrade(SPUpgradeSession session, SPContentDatabase database, Dictionary`2& dictSitesNeedUpgrade, Dictionary`2& dictSitesNeedFeatureUpgrade) at Microsoft.SharePoint.Upgrade.SPContentDatabaseSequence.AddNextLevelObjects() at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, Boolean bRecursing, SPDelegateManager delegateManager) at Microsoft.SharePoint.Upgrade.SPHierarchyManager.Grow(SPTree`1 root, SPDelegateManager delegateManager) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at ...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected ...Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ReflexiveNeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Upgrade.SPUpgradeSession.NeedsUpgrade(Object o, Boolean bRecurse) at Microsoft.SharePoint.Administration.SPServerProductInfo.DetectLocalUpgradeStatus() at Microsoft.SharePoint.Admi...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology aj4j4 Unexpected ...nistration.SPServerProductInfo.DetectLocalProductVersions(SPProductVersions prodVer) at Microsoft.SharePoint.Administration.SPServerProductInfo.UpdateProductInfoInDatabase(Guid serverGuid) at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole)
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology 88ah High Unjoining the farm.
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Topology 7f7z Medium Attempting to unprovision the instance of the service.
04/06/2017 19:34:02.52 psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Config Cache 8xqz Medium Updating SPPersistedObject SPUsageServiceInstance. Version: 3285 Ensure: False, SkipObjectCallbackCheck: False, HashCode: 16766519, Id: 6acbaa8c-6140-4187-ab98-43e9e1632956, Stack: at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdateCore(Boolean legacyUpdate) at Microsoft.SharePoint.Administration.SPPersistedObject.Update() at Microsoft.SharePoint.Administration.SPServer.Unprovision() at Microsoft.SharePoint.Administration.SPFarm.Unjoin() at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost, Nullable`1 serverRole) at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb() at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run() at Microsoft.Sh...
04/06/2017 19:34:02.52* psconfigui.exe (0x00B8) 0x027C SharePoint Foundation Config Cache 8xqz Medium ...arePoint.PostSetupConfiguration.TaskThread.ExecuteTask() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()

Solution:: “Microsoft WCF Data Services 5.6” is not installed correctly, even it says so, that everything is ok.
Solution is to repair “Microsoft WCF Data Services 5.6”, then run SharePoint configuration wizard again. It will work like charm.


SharePoint 2016 + Windows Server 2016-Web Server (IIS) Role: configuration error

April 8, 2017

Case:
SharePoint 2016 + Windows Server 2016
Problem:
Pre-Requist wizard fails as error as:
• Web Server (IIS) Role: configuration error

Solution:
Googled it. Got reference from Swiss guy’s blog.

https://www.techtask.com/sharepoint-2016-unable-to-install-application-server-role-web-server-iis-role/

Slight modification for Windows Server 2016,
Remove Application-Server and AS-Web_support features.
Run poweshell as below.
Add-WindowsFeature Web-Server,Windows-Identity-Foundation,NET-Framework-45-ASPNET,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,Web-Lgcy-Mgmt-Console,Web-Lgcy-Scripting,Web-Mgmt-Tools,Web-WMI, Web-Common-HTTP,NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-HTTP-Activation45 -Source 'F:\sources\sxs'
Problem solved…!


SharePoint 2016 – Exception: System.InvalidOperationException: An error occurred while getting information about the user xxxxxxxxxx at server Access is denied

March 30, 2017

Environment: SharePoint 2016 + Windows server 2016 + SQL Server 2016
Problem:
SP 16 pre-requisite installed.
SP 16 configuration wizard, fails at 3th step, with following error.

Task configdb has failed with an unknown exception Exception: System.InvalidOperationException: An error occurred while getting information about the user xxxxxxxxxx at server Access is denied at Microsoft.SharePoint.Win32.SPNetApi32.NetUserGetInfo1(String server, String name) at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)

With full call stack as below.

03/29/2017 07:21:03 9 INF Creating connection string for config db ReadersSP2016V2_SharePoint_Config server ReadersWisa
03/29/2017 07:21:03 9 INF Creating connection string for admin content db SharePoint_AdminContent_f7125642-706d-452e-a877-67a4ec7f1fe4 server ReadersWisa
03/29/2017 07:21:03 9 INF Using NTLM for sql connection string
03/29/2017 07:21:03 9 INF Creating a new farm with config db ReadersSP2016V2_SharePoint_Config content db SharePoint_AdminContent_f7125642-706d-452e-a877-67a4ec7f1fe4 server ReadersWisa for farm mode
03/29/2017 07:21:32 9 ERR Task configdb has failed with an unknown exception
03/29/2017 07:21:32 9 ERR Exception: System.InvalidOperationException: An error occurred while getting information about the user readadmin at server xxxxxxxxx.com: Access is denied
at Microsoft.SharePoint.Win32.SPNetApi32.NetUserGetInfo1(String server, String name)
at Microsoft.SharePoint.Administration.SPManagedAccount.GetUserAccountControl(String username)
at Microsoft.SharePoint.Administration.SPManagedAccount.Update()
at Microsoft.SharePoint.Administration.SPProcessIdentity.Update()
at Microsoft.SharePoint.Administration.SPWindowsService.Update()
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateTimerService(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.CreateBasicServices(SPFarm farm)
at Microsoft.SharePoint.Administration.SPFarmFactory.Create()
at Microsoft.SharePoint.Administration.SPFarm.Create(SqlConnectionStringBuilder configurationDatabase, SqlConnectionStringBuilder administrationContentDatabase, SqlConnectionStringBuilder siteMapDatabase, IdentityType identityType, String farmUser, SecureString farmPassword, SecureString masterPassphrase)
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
03/29/2017 07:21:32 9 INF Entering function Common.BuildExceptionMessage


Solution:
It is known issue with SharePoint 2016 Server. Solution is to install following patch.
https://www.microsoft.com/en-us/download/details.aspx?id=53287
Problem solved.


SharePoint 2010 to SharePoint 2013 Migration – Strange issue – Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(

March 26, 2017

Problem Case
SharePoint web application migrated 2010 to 2013, master page was mis-aligned css wise and web parts were not editable. So Microsoft recommends to create a new master page for SharePoint 2013. So created a new master page and pageLayout. While new master page was under revsions based on old master page html content, whole site start giving crash on following pages:
• Site collection site features
• Site features
• Web parts (Web Designer Galleries)
• List templates (Web Designer Galleries)
• Master pages and page layouts (Web Designer Galleries)
• Themes (Web Designer Galleries)
• Solutions (Web Designer Galleries)
Different error stacks in above pages:
Stack Trace:: 1

The file / does not exist.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: The file / does not exist.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[FileNotFoundException: The file / does not exist.]
Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path, Boolean throwIfFileNotFound) +1653
Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath) +112
System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) +47
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +91
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +192
System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) +71
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +223
System.Web.UI.Page.ApplyMasterPage() +74
System.Web.UI.Page.PerformPreInit() +208
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1571

Stack Trace:: 2
[FileNotFoundException]: The file / does not exist.
at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path, Boolean throwIfFileNotFound)
at Microsoft.SharePoint.ApplicationRuntime.SPVirtualFile.CalculateFileDependencies(HttpContext context, SPRequestModuleData basicRequestData, ICollection& directDependencies, ICollection& childDependencies)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureDependencies(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.EnsureCacheKeyAndViewStateHash(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPDatabaseFile.GetVirtualPathProviderCacheKey(HttpContext context, SPRequestModuleData requestData)
at Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
[HttpException]: Exception of type 'System.Web.HttpException' was thrown.
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Server Error in '/' Application.
--------------------------------------------------------------------------------

The file / does not exist.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: The file / does not exist.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:: 3

[FileNotFoundException: The file / does not exist.]
Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path, Boolean throwIfFileNotFound) +1653
Microsoft.SharePoint.ApplicationRuntime.SPVirtualPathProvider.GetCacheKey(String virtualPath) +112
System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) +47
System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +91
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) +192
System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) +71
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +223
System.Web.UI.Page.ApplyMasterPage() +74
System.Web.UI.Page.PerformPreInit() +208
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1571

Solution:
Different solutions , that I tried as:
1. De-activate, active publishing features.
2. Run SharePoint Configuration wizard
3. Re-deployed custom features
Solution that clicked as:
Go back to old version of master page (2010 migrated one), everything start working.
So reason is method, Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(
When a master file is changed, it is saved in content database internal tables with all elements like web parts. Slowly check which tag of master file in newly created master file is crashing, remove that element of master file…..so problem is master page content, un-expectedly, a lot of site settings stop working.


SharePoint 2016, new features

February 18, 2017

Topic: SharePoint 2016, new features
Audience: SharePoint Consultant
SCOPE: Basic

Click here to download presentation


SharePoint Branding Strategy

January 27, 2017

Topic: SharePoint Branding Strategy
Audience: SharePoint Consultant
SCOPE: Cross Referenced

Click here to download presentation