stsadm

sts adm command for MOSS 2007

馋奶兔 提交于 2020-02-05 05:15:08
问题 I'm looking for the stsadm command that will list all site collections and their size on disk. Thanks. 回答1: This will output the site collection list into a file called sites.xml, which can be used in other stsadm commands, like mergecontentdbs stsadm -o enumsites -url http://MySharePointSite > C:\sites.xml Note that this can take a long time if there are lots of site collections - it takes 2 hours on my SharePoint system. Edit: Added commands for subwebs: For the subwebs, you can use the

'Activate feature' step error :Object Reference not set to an instance of an object

与世无争的帅哥 提交于 2019-12-24 17:07:16
问题 I created a custom timer job and implemented it through a feature event in sharepoint. when i tried to activate it, its showing this particular error: Object reference not set to an instance of an object. at TimerJobExample.MyFeatureReceiver.FeatureActivated(SPFeatureReceiverProperties properties) in C:\Documents and Settings\admin-shuklag.INFRADEV\My Documents\Visual Studio 2008\Projects\TimerJobExample\TimerJobExample\MyFeatureReceiver.cs:line 22 at Microsoft.SharePoint.SPFeature

sharepoint copy a list to a different web

雨燕双飞 提交于 2019-12-12 01:18:22
问题 how can i copy a sharepoint list with all its data to a different web? is there an stsadm command to do this? or even through the gui. 回答1: You can also do this with Gary LaPointe's stsadm extensions. They're pretty sweet. Specifically, look into the gl-copylist command. 回答2: What you can do is Save that List as Template with the contents included and create a List Based on the save template. To Save the List as Template you need to navigate to the List Settings Page and Select Save as

Proper stsadm commands to update SharePoint Solution/Feature

左心房为你撑大大i 提交于 2019-12-09 12:41:10
问题 What are the proper stsadm commands in sequence to force an upgrade to a SharePoint solution. I have tried C:>"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o deploysolution -name "MySolution.wsp" -immediate -allcontenturls -allowGacDeployment -allowCasPolicies -force followed by C:>"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o execadmsvcjobs It seems to deploy and shows the solution as having a

SharePoint wsp solution: How to Deploy Globally

一曲冷凌霜 提交于 2019-12-07 06:20:19
问题 I have created a wsp package and add it to Central Administration > Operations > Solution Management using the addsolution command of stsadm. When I click on the Deploy Solution menu, it transfers me to deploy to the solution page. In this page, in the "Deploy To?" section, it shows me a dropdown list with entries like 'All Content web Applications'. I want to deploy my solution globally so that it is applicable to all new web applications created after the deployment. I have seen WSPs for

SharePoint wsp solution: How to Deploy Globally

蓝咒 提交于 2019-12-05 09:50:09
I have created a wsp package and add it to Central Administration > Operations > Solution Management using the addsolution command of stsadm. When I click on the Deploy Solution menu, it transfers me to deploy to the solution page. In this page, in the "Deploy To?" section, it shows me a dropdown list with entries like 'All Content web Applications'. I want to deploy my solution globally so that it is applicable to all new web applications created after the deployment. I have seen WSPs for which "Deploy To?" section shows only a message like "This solution deploys globally" and no dropdown