Fixing Errors
Fixing errors according to Error message and possible reason is described.
Error Messages
Unable to load assembly group. The user assembly group provider was unable to provide any user assemblies for the specified assembly group.
25/06/2013 18:11
Unable to load assembly group. The user assembly group provider was unable to provide any user assemblies for the specified assembly group.
Error above was caused by coding error or typo:
- all receivers in elements.xml has to have definition in codebehind
- namespace and class must be the...
The secure sockets layer (SSL) certificate sent by the server was invalid and this item will not be crawled.
18/01/2013 17:35
The secure sockets layer (SSL) certificate sent by the server was invalid and this item will not be crawled.
Solution:
Go to Central Administration > Application Management > Manage services on server > Sharepoint Server Search and set it to ignore SSL warnings. Repeat...
The URL of the item could not be resolved. The repository might be unavailable
18/01/2013 17:31
Crawling error in Crawl log
The URL of the item could not be resolved. The repository might be unavailable, or the crawler proxy settings are not configured. To configure the crawler proxy settings, use Search Administration page.
Soluiton: Add web application header (url without...
Cannot create a file when that file already exists. (Exception from HRESULT: 0x 800700B7)
02/11/2012 18:52
Cannot create a file when that file already exists. (Exception from HRESULT: 0x
800700B7)
At C:\cham.TFS\_Tools\flnWebAppScripts\CreateWebApplication.ps1:62 char:
79
+ (get-childitem "IIS:\sites"|where-object {$_.Name -eq $iisSiteName}).Start <<<<...
Cannot convert 'System.Object[]' to the type 'Microsoft.Office.Server.Search.Cmdlet.SearchServiceApplicationPipeBind'
21/03/2012 14:10
Cannot convert 'System.Object[]' to the type 'Microsoft.Office.Server.Search.Cmdlet.SearchServiceApplicationPipeBind'
Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $searchapp
I had stored object collection instead of one object to the variable $searchapp in...
The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered
21/01/2012 21:22
1. Check execution policy to be not restrictedSet-Executionpolicy RemoteSigned2. Check admin rightsGet-SPShellAdminAdd-SPShellAdmin -username "domain\username"3. Run Powershell as administrator4. Check permission in SQL content databaseWe were not able to run powershell scripts from our account....
An error occurred during the compilation of the requested file, or one of its dependencies. The type 'Microsoft.SharePoint.Portal.WebControls.WebPartLoc' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Sha
10/01/2012 11:49
An error occurred during the compilation of the requested file, or one of its dependencies. The type 'Microsoft.SharePoint.Portal.WebControls.WebPartLoc' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.SharePoint.Portal, Version=14.0.0.0,...
Set-Location : A positional parameter cannot be found that accepts argument 'and'.
07/01/2012 14:34
PS C:\> cd c:\Documents and Settings\Lukas\Desktop\XMLskusky
Set-Location : A positional parameter cannot be found that accepts argument 'and'.
At line:1 char:3
+ cd <<<< c:\Documents and Settings\Lukas\Desktop\XMLskusky
+...
The term 'praram_switch.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program.
07/01/2012 14:17
C:\Documents and Settings\Lukas\My Documents\P_R_O_G_R_A_MOVANIE\powerShell>powershell praram_switch.ps1
The term 'praram_switch.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify...
file .ps1 cannot be loaded because the execution of scripts is disabled on this system
07/01/2012 14:02
File C:\Documents and Settings\Lukas\My Documents\P_R_O_G_R_A_MOVANIE\powerShell\praram_switch.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
At line:1 char:20
+ .\praram_switch.ps1...