Recently came across this error when trying to remove a deployed custom SharePoint 2010 search connector in PowerShell:
Remove-SPEnterpriseSearchCrawlCustomConnector -Identity Inmagic -SearchApplication $searchappIt turned out that the message was wrong and protocol name was case-sensitive. Just sharing as it took a while for me to figure out.
Remove-SPEnterpriseSearchCrawlCustomConnector : The registration of the custom connector for protocol 'Inmagic' is corrupted. Cannot be removed.
At line:1 char:46
+ Remove-SPEnterpriseSearchCrawlCustomConnector <<<< -Identity Inmagic -SearchApplication $searchapp
+ CategoryInfo : InvalidArgument: (Inmagic:String) [Remove-SPEnterp...CustomConnector], ArgumentException
+ FullyQualifiedErrorId : Microsoft.Office.Server.Search.Cmdlet.RemoveCustomConnector

1 comments:
I keep getting it by case sensitivity issues with powershell myself :)
Post a Comment