Showing posts from May, 2019

Extract Documents to Folder based on Managed Metadata Column - SharePoint

  How to Extract documents from Multiple Document libraries in to Folders. Each has a Managed Metadata Column with Sub Terms. I have created three Functions to  Download Document Create Folder Main Method Addition to above, script will log the Document URL and destination Folder Path in .log file Create Folder   Function   Create-Folder {      param  ( $folderPath )      if  (!( Test-Path  -path  $folderPath ))     {          New-Item   $folderPath  -type directory     } } Download Document ( this is stolen from Stackoverflow 😁 ) Function   Download-Document {      param ( $web ,  $folderPath ,  $docItem )       #File Download Snippet Reffered From :        $File  =  $web .GetFile ( $docItem .Url )          $Binary  =  $File .OpenBinary ()          $detinationPath  =  $folderPath  +  "\"  +  $File .Name ;          $Stream  =  New-Object  System.IO.FileStream( $detinationPath

Task applicationcontent has failed with an unknown exception

XML Error - Task applicationcontent has failed with an unknown exception SharePoint 2013 Product Configuration wizard Failed during the Cumulative Update installation with below error Task   applicationcontent   has   failed   with   an   unknown   exception   ERR                   Exception:  System . NullReferenceException :  Object   reference   not   set   to   an   instance   of   an   object .     at   Microsoft . SharePoint . Administration . SPAspConfigurationFile . ApplyActionToXmlDocument ( XmlDocument   xdAction ,  XmlDocument   xd ,  String   sourceFileName ,  SupportedXmlDocutmentActions   supportedActions )    at Microsoft.SharePoint.Administration.SPAspConfigurationFile.MergeWebConfig( XmlDocument   xdWebConfig ,  String   fileMask )    at Microsoft.SharePoint.Administration.SPWebService.ApplyApplicationContentToLocalServer()    at Microsoft.SharePoint.PostSetupConfiguration.ApplicationContentTask.Run()    at Micro

SP2013 User Profile Web Service Error

_api/SP.UserProfiles.PeopleManager Web Service Error in User Profile REST API While we were testing the passive SharePoint farm, Developers started to get this error in their REST API calls. It occurred during reading the user information through User Profile "_api/SP.UserProfiles.PeopleManager" I have verified below  User Profile Service is up and running user Profile Synchronization Service is successfully running on the App Server FFM Service successfully running on the server Profile Synchronization is successfully executed with Active directory  My sites Web Application is available. But Still we got below error on the Browser when we try the service URL Error This XML file does not appear to have any style information associated with it. The document tree is shown below. < m:error xmlns:m = "" > < m:code > -1, Microso

SharePoint Cumulative Update Error Could not load file or assembly Microsoft.ReportingServices.Alerting.ServiceContract

SSRS Integrated Mode Issue Microsoft.ReportingServices.Alerting.ServiceContract Exception: System.Reflection. TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO. FileNotFoundException: Could not load file or assembly 'Microsoft.ReportingServices. Alerting.ServiceContract, Version=, Culture=neutral, PublicKeyToken= 89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified. After very long time I had to patch my SharePoint farm and during the UAT I was facing this issue. Unfortunately this was the first time I ever faced this issue and it took me pretty good time to find the solution. If you also have a SharePoint farm with SSRS Integrated mode and Report Viewer Web Part Deployed to your farm, then you might face this issue. Issue: After successful installation of Binaries of SharePoint 2013 CU March 2019 Every time when Product Configuration wizard executed on the Serv

Pre-Upgrade Check List

Download Our Free SharePoint Pre-Upgrade Check List

* indicates required

Vintage Clan