Showing posts with label Uninstall-SPFeature. Show all posts
Showing posts with label Uninstall-SPFeature. Show all posts

Thursday, March 17, 2016

WSP gets stuck in "Deploying"


  • stsadm -o execadmsvcjobs on the server running Central Admin
  • Install-SPSolution has only the -Force, 
  • Check for Sharepoint 2013 Timer service






Add-SPSolution –LiteralPath "d:solution.wsp" 

install solution and we executed the following command:

Install-SPSolution -Identity "solution.wsp" -WebApplication http://peakfinders.com/  –GACDeployment

Thursday, April 16, 2015

Minimal download strategy in SharePoint 2013

This feature introduced by SharePoint 2013 Minimal download strategy improved the SharePoint Site performance:
1.navigation,
2.fast rendering on client browser
3.It also reduces the SharePoint page load time, because it loads only a part
of a page which is been modified rather than getting a duplicate data from server.
This feature automatically activated by on SharePoint Team Sites
User can do deactivate this feature at site collection level.

Go to Site Settings -> Manage Site Features - >
Find Minimal Download Strategy Feature - > Click on Deactivate.


Uninstall the Minimal download strategy powershell Script

Uninstall-SPFeature MDSFeature -Force -Confirm:$false

Minimal download strategy Feature location in 15 hive directory

# backup current Feature XML
$xmlmpath = "C:\Program Files\Common Files\microsoft shared\
Web Server Extensions\15\TEMPLATE\FEATURES\MDSFeature\feature.xml"
Copy-Item $path "$xmlpath-orig"
# mo DLL assembly detail [xml] $x = Get-Content $xmlpath
$x.Feature.RemoveAttribute("ReceiverClass")
$x.Feature.RemoveAttribute("ReceiverAssembly")
$x.Save($xmlpath)
Minimal download strategy Install Feature in Configuration Database

Install-SPFeature MDSFeature
Enable Powershell Script in minimal strategy Feature
backup current Feature XML
$path = "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\MDSFeature\feature.xml"
Copy-Item "$path-orig" $path -Force -Confirm:$false
Install minimal strategy Feature

Install-SPFeature MDSFeature