Sitecore 10.1.0 Unicorn 4.1.5.0 page load issue: The physical root path of this SFS tree, is longer than the configured max base path length 110. If the tree contains any loopback paths, unexpected behavior may occur. You should increase the Rainbow.SFS.SerializationFolderPathMaxLength setting in Rainbow.config to greater than 141 and perform a reserialization from a master content database.
Error:
Server Error in '/' Application.
The physical root path of this SFS tree, is longer than the configured max base path length 110. If the tree contains any loopback paths, unexpected behavior may occur. You should increase the Rainbow.SFS.SerializationFolderPathMaxLength setting in Rainbow.config to greater than 141 and perform a reserialization from a master content database.
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.InvalidOperationException: The physical root path of this SFS tree, c:\inetpub\wwwroot\sc1010latestsc.dev.local\App_Data\Unicorn\MySitecoreSln.Feature.CustomCoreMenu\MySitecoreSln.Feature.CustomMenu.Core.Items, is longer than the configured max base path length 110. If the tree contains any loopback paths, unexpected behavior may occur. You should increase the Rainbow.SFS.SerializationFolderPathMaxLength setting in Rainbow.config to greater than 141 and perform a reserialization from a master content database.
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:
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4330.0
Solution:
This Foundation.Serialization.Settings.confg file that increases the path length was missing. So, I added the same to web root config path (<web app root path>\App_Config\Include\Foundation) and reloaded the unicorn page.
But then, there was a different problem waiting for me: When I checked the showconfig.aspx, the Foundation.Serialization.Settings.confg file wasn't getting patched. After a lot of iis reset , restart etc. + coffee,
I tried disabling the Rainbow.config in the App_Config\Include folder and the Foundation.Serialization.Settings.confg was getting picked up.
Then, after some trial and error, I realized that a better approach will be to rename this Foundation.Serialization.Settings.confg file as Rainbow.Settings.config and if it is present in the same location as the Rainbow.config, the patch gets applied -
Note: Ensure to disable or remove the Foundation.Serialization.Settings.confg file from the <web app root path>\App_Config\Include\Foundation folder!
Comments
Post a Comment