Tag Info

Hot answers tagged

6

I recently ran into the exact same issue in SP 2013 where my Dev machine had the RTM install and the target server the June CU. We ended up copying the Content Database from SQL directly, reattaching and associating it to a Web Application and it worked flawlessly. It seems the Restore command is no longer backwards compatible and can't be relied to restore ...


4

Checking the list of ststadm operations seems that there is no stsadm command for disabling a timer job. There is only a command to delete a timer job (deletessptimerjob). In that case you are left with two options: Disable the timer job using the UI in Central Administration (Central Administration -> Operations -> Job Definitions) Disable the timer job ...


2

plz try with this Export and import a subsite, list, or library: stsadm -o export –url [url of subsite, list, library] –filename D:\spbackup\backup.bak -quiet -overwrite stsadm -o import –url [url of subsite, list, library] –filename D:\spbackup\backup.bak -quiet If the command is entered correctly and you have the permission needed to run the export, ...


2

Seems that in the previous action, a site collection reference already has been created somewhere in the web application configuration. Although there’s a reference, the necessary files to render the page aren’t there. There’s also no possibility to remove the existence of the site collection. When you try to do something with the site collection, for ...


2

stsadm cannot do what you are asking unfortunately, however you can achieve the same functionality using SharePoint Designer, which will create a .cmp (which is a cab file by another name) file which you can import using either stsadm or SharePoint Designer as you prefer. Here are some links to SharePoint Designer as well: SharePoint Designer 2007 (works ...


2

Out of the box of PowerShell cmdlets, It can't be done. It's no valid cmdlets in the Index of SharePoint Server 2010 Windows PowerShell cmdlets However, Stefan Goßner wrote the blog post SharePoint Variations – The complete Guide – Part 16 – Translation Support which go over the topic in detail. He suggest to use PublishingService to export/import ...


1

You can use the pwoershell to get the alerts for a site collection. First you make sure powershell is properly configured. Now run the below script and you will get it. Add-PSSnapin microsoft.sharepoint.powershell $site = Get-SPSite "http://dlvrn2010.com/sites/spalerts/ $alertResultsCollection = @() foreach ($web in $site.AllWebs) { ...


1

I am sure Gary Lapointe's custom stsadm will not work in 2013. You need to do the following things. 1st deploy the Lapointe.wsp to install all the custom commands. Download it from here :SharePoint 2013 Server Cmdlets (x86, x64) Once above solution succesfully installed then all his custom command will be available. Now you to run the following command. ...


1

SharePoint 2007 does not have PowerShell support. In Visual Studio create a console application that loops through all the site collections and sites. You need to run this program on the SharePoint 2007 server. http://msdn.microsoft.com/en-us/library/office/ms462161(v=office.14).aspx static void Main(string[] args) { SPFarm farm = ...


1

Check your database version using following Get-SPContentDatabase <DB name>| Format-List * In this check the SchemaVersionXML if it is "4.0.145.0" then you have to run the below powershell script **Upgrade-SPContentDatabse –Identity <DB Name> and then take fresh back up and try.


1

To query Windows Registry is probably the most reliable way to detect if SharePoint installed (Visual Studio uses this technique). Please follow the article How To: Detect the Installed SKU of SharePoint 2010 for more details. It contains code sample that demonstrates how to retrieve the registry key of the installed SKU of SharePoint Server 2010. ...


1

To get the site id use powershell. Interestingly in my case I can create the powershell object. E.g. $s=Get-SpSite <url> $s.ID Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN Then execute STSADM -o deleteconfigurationobject -id <site id> In once case this worked Or you can try deleting $s.Delete ...


1

I am not sure if i am late or not. this error comes for one of the following reasons: Backup SharePoint server version is different than the restore server version The backup file is corrupted The used user account is not having the permission on the content DB for the web application that you want to restore on.


1

do this: open powershell as admin (run as admin): restore-spsite -Identity https://xx/10014628/ -Path D:\SiteCollectionBackups\10014628.bak -Force -Confirm change the D drive to a local drive like C but dont put the file on root like so C:\10014628.bak rather have it within a folder C:\SiteCollectionBackups\10014628.bak should do the trick also like to ...



Only top voted, non community-wiki answers of a minimum length are eligible