Showing posts with label Unicorn. Show all posts
Showing posts with label Unicorn. Show all posts

Tuesday, 16 February 2021

Could not find add method: AddPrefetch (type: System.String)

 Issue:

After the initial unicorn setup with Sitecore instance, there may be a chance to get below issue

Could not find add method: AddPrefetch (type: System.String)

and there is no more information into log files. 



Fix:
To resolve this issue, 
ensure ranbow.*.dll, unicorn.*.dll, configy.dll and Kamsar.WebConsole.dll properly deployed in wwwroot/instancename/bin directory.

Sunday, 11 October 2020

You cannot have a sparse serialized tree. You may need to serialize this item's parents: Unicorn Sitecore Issue



If you are using unicorn with your Sitecore solution, and trying to install any module or any sitecore package. Then there may be some chances to get below error as 


"You cannot have a sparse serialized tree. You may need to serialize this item's parents"


If yes, then just disable configuration file as Unicorn.DataProvider.config which you can get inside App_Config directory.


now install module/package. And once installation done please must follow below best practices



1. once installation done, enable Unicorn.DataProvider.config again

2. If using unicorn for Sitecore item sync, then avoid to install sitecore packages.




Please comment, if issue still persist.