Translate

Tuesday, 1 January 2013

SharePoint 2013 - Backup - Restore Managed Metadata from one farm to another

Below Powershell script can be used to back up and restore the terms from one sharepoint farm to another in sharepoint 2013.


For BackUp #Add-PSSnapin Microsoft.SharePoint.PowerShell

$mmsAppId= "Pass GUID- refer the first screen shot below to get the guid"

$mmsproxy = Get-SPServiceApplicationProxy -Identity  "GUID- refer the second screen shot for getting the guid "

Export-SPMetadataWebServicePartitionData -Identity $mmsAppId -ServiceProxy $mmsproxy -Path "C:\path\FileName.cab"



For Restore

move the  FileName.cab file to the new server.

Use the below PowerShell commands.

$mmsAppId= "GUID- refer the first screen shot to get the guid"

$mmsproxy = Get-SPServiceApplicationProxy -Identity  "GUID- refer the second screen shot for getting the guid "

Import-SPMetadataWebServicePartitionData -Identity $mmsAppId -ServiceProxy $mmsproxy -Path "C:\.\FileName.cab" -OverwriteExisting;


 

Screen Shot1:-Please get the guid from the circled section of the below sccreen









Screen Shot2:-You can get the guid from  highlighted section of the the pop up from below screen shot


Monday, 12 November 2012

SP 2013 Cannot complete this action as the Secure Store Shared Service is not responding. Please contact your administrator.

Cannot complete this action as the Secure Store Shared Service is not responding. Please contact your administrator.

Please make sure that the following services are running.
under Manage services on server
1)  PerformancePoint Service
 2) Secure Store Service
 3) Claims to Windows Token Service

4)Excel Calculation Services
 

Monday, 24 October 2011

“Microsoft SharePoint Foundation Web Application” status "Starting

Issue >“Microsoft SharePoint Foundation Web Application” status not changing
After doing iis reset and services restart, still “Microsoft SharePoint Foundation Web Application” status is displaying as “Starting”

SolutionRun the following command in powershell, with admin right

1. Get-SPServiceInstance –Server WebFrontEnd1
This command will display all the services and correspoinding GUID
2. Stop-SPServiceInstance -Identity 2f409eff-ccd2-488d-ba14-db2899a44505

Identity we will get from the step one.
After doing the above two steps refresh central admin, the status of the Microsoft SharePoint Foundation Web Application should change to stopped