One or more field types are not installed properly

You get the message: "One or more field types are not installed properly" in the ULS Log and/or Event Log everytime Vizit.Utils.SharePoint.Cache.CleanupTimerJob is run (every 30minutes).

Earlier versions of Vizit's Cache Cleanup TimerJob had a bug, causing the TimerJob to attempt to create the Vizit cache library at every root site in each site collection.  The lists and errors are harmless, and can be ignored; however, to remedy this problem, we recommend following these steps:

  1. Upgrade to the latest release of Vizit, which can be downloaded from our download page
  2. Run the following PowerShell script to crawl through your web application, find each empty Vizit list and delete it:
    Add-PSSnapin Microsoft.SharePoint.PowerShell
    $webAppUrl = Read-Host "Enter Application URL" 
    $spWebApp = Get-SPWebApplication $webAppUrl
    
    foreach($site in $spWebApp.Sites) 
    { 
    	$rootWeb = $site.RootWeb 
    	$vizLib = $rootWeb.Lists["8398c35e-2873-4f0e-a58c-251cfeb3e6d0"] 
    	
    	if (!$vizLib) { continue } 
    	
    	Write-Host "Checking Vizit Library on" $rootWeb.Url
    	
    	if ($vizLib.ItemCount -eq 0)
    	{
    		Write-Host "Deleting list on" $rootWeb.Url
    		$vizLib.Delete() 
    		$site.Features.Remove("ec662500-768e-4603-9963-d38f185ded4a")
    	}
    	else
    	{
    		Write-Host "Vizit Library on" $rootWeb.Url "is not empty!"
    	}
    }

Once these steps are completed, you should no longer receive error messages in your ULS or EventLog

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk