Pages

Wednesday, November 27, 2013

Unable to unlock by using stsadm/powershell and central admin


The site was locked and I was tried to unlock the site using stsadm and powershell commands in sharepoint 2013 but didn’t worked.

Finally I found below PowerShell from the MS forum to unlock the site and it got worked.

$Admin =  new-object Microsoft.SharePoint.Administration.SPSiteAdministration('http://root.toto.com')

$Admin.ClearMaintenanceMode()

$site.MaintenanceMode

 

NOTE: The above commands will work only if your SharePoint 2013 April cumulative update installed

Monday, November 11, 2013

Extract SharePoint farm solutions of SharePoint 2010 and MOSS


Extract or exporting SharePoint 2010 farm solution using PowerShell

Run the below PowerShell to Extract all solutions from the SharePoint farm.

(Get-SPFarm).Solutions | ForEach-Object{$var = (Get-Location).Path + "\" + $_.Name; $_.SolutionFile.SaveAs($var)}

Extract or Exporting SharePoint 2007 farm solutions:
                                                                                                 I was used SharePoint farm solution extractor to extract SharePoint 2007 farm solutions using the below command and link

SharePointFarmSolutionExtractor.exe -extractAll c:\SharePointSolutions

SharePoint web application not created on SharePoint web front servers


While I was creating a new web application in SharePoint 2013 farm environment, I got a “page cannot be displayed” message in the site creation page and the web application was created only on the central admin Server and not all other SharePoint farm machine.

I was restarted the machine to fix the issue and ran the timer job execution stsadm command but it didn’t worked and finally I got a solution from one of the blog that to increase value of “Shutdown Time limit” for SharePoint Central admin site application pool from default value of 90 Seconds to 300 Seconds and done the IISRESET and then created a new web application and got worked