stsadm etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
stsadm etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

9 Ekim 2012 Salı

Cannot uninstall Language Pack 0 because it is not deployed

If you have this error, it means you are trying to uninstall a solution which is not installed (deployed).

So,
First check Central Administration - System Settings - Manage Farm Solutions - Check if your solution is deployed. If it is not, deploy it.

If you have trouble by deploying it, try to remove the solution. (Yeah, skip uninstall phase)

Removing solution PowerShell cmd:
Remove-SPSolution -Identity solution.wsp -Force
Removing solution stsadm cmd:
stsadm -o deletesolution -name solution.wsp -override

Add Solution PowerShell cmd:
Add-SPSolution D:\solution.wsp
Add Solution stsadm cmd:
stsadm.exe -o addsolution -filename D:\solution.wsp

Install Solution PowerShell cmd:
Install-SPSolution –Identity solution.wsp -GACDeployment -Force
Install Solution stsadm cmd:
stsadm -o deploysolution -name solution.wsp -immediate -allowCasPolicies -force -allowGacDeployment

25 Eylül 2012 Salı

Sharepoint 2010 Run all Administrative Jobs

Sometimes you might need to run all the administrative jobs right away.

In order to do that

Open cmd as admin go to 14 Hıve

type
stsadm -o execadmsvcjobs

With this way, you don't need to wait for the scheduled jobs to run, you run it right away.

It is useful if you deploy some solutions, change an user profile etc. (I ll check user profile again: ) )

24 Eylül 2012 Pazartesi

Sharepoint 2010 Uninstall a feature

Sometimes if you restore a site collection, you might need to deactivate and uninstall a infopath form and reupload it.

To do that, first go to your site - Site Settings - Site Collection Administration (Go to "Go to top level site settings" if necessary) - Site collection features - Deactivate the feature.

Get the GUID on the link, you ll need it to uninstall

Then,
Uninstall the corresponding feature using stsadm

stsadm.exe -o uninstallfeature -id 9fd01052-5564-8ed4-e2b7-a563e9898f08 -force

Sometimes, copy-pasting above code does not work, simply write it yourself.


Bye !