SharePoint 2010: The remote server returned an error: (503) Server Unavailable

Some of the Application Pools was stop.

Solution:  Start Application pool.

SharePoint 2010: Publishing Site enable Publishing without workflow

To disable content approval, do the following:

  1. Navigate to the pages library
  2. On the library ribbon, choose “Library Settings”
  3. Open “Versioning Settings”
  4. Set “Content Approval” to “no” and click OK.

To remove the workflow:

  1. Return to the pages library.
  2. On the library ribbon, choose “Library Settings”
  3. Click “Workflow settings”
  4. Click “Remove a workflow”
  5. Switch Page Approval to No New Instances

SharePoint: setup mirroring with Powershell

$db = get-spdatabase | where {$_.Name -eq ” database name “}
$db.AddFailoverServiceInstance(” server instance “)
$db.Update()

 

Get-SPDatabase database ID | select name, failoverserver

Import a solution package

Add-SPSolution -LiteralPath <SolutionPath>

SharePoint: all document from all lists availabe in WebApplication

SELECT AllDocs.Leafname AS ‘FileName’,
AllDOcs.Dirname AS ‘Folder Path’,
AllLists.tp_Title AS ‘List Title’,
Webs.Title AS ‘Web Title’,
AllDocs.Size AS ‘Size’
FROM AllDocs
JOIN AllLists
ON
AllLists.tp_Id=AllDocs.ListId
JOIN Webs
ON
Webs.Id=AllLists.tp_WebId
ORDER BY AllDocs.Size
Follow

Get every new post delivered to your Inbox.