Posts

Workaround after changing managed account password in SharePoint 2010

After changing managed account password or SharePoint server account password there are multiple types of issues that can occur in your farm. I am trying to cover the major steps on high level. Changing Password Open Central Administration and navigate to Security then Configure managed accounts. Edit the desired account and setup a new password. Logout from the farm. Testing password changes         4.    Restart Servers         5.    Login with newly setup password on the server          6.    Check SharePoint services if running           Clearing SharePoint Cache          7.    Stop SharePoint Services Timer from the services          8.    Open  Drive:\ProgramData\Microsoft\SharePoint\Config\GU...

How to take backup of farm,web application,site collection,site,list and library, service application and SharePoint configuration using PowerShell

SharePoint PowerShell Backup and Restore Commands The following are examples of different SharePoint PowerShell commands you can use to back up and restore various components of your SharePoint environment. A complete farm backup followed by a restore: Backup-SPFarm –Directory \\App01\SharePointBackups -BackupMethod Full Restore-SPFarm –Directory \\App01\SharePointBackups -RestoreMethod New Back up and restore a service application: Backup-SPFarm –Directory \\App01\SharePointBackups -BackupMethod Full –Item "Excel Services" Restore-SPFarm –Directory \\App01\SharePointBackups -RestoreMethod New –Item "Excel Services" Back up and restore farm configuration information only: Backup-SPConfigurationDatabase –Directory \\App01\SharePointBackups Restore-SPFarm –Directory \\App01\SharePointBackups –RestoreMethod Overwrite –ConfigurationOnly Back up and restore your SharePoint content databases: Backup-SPFarm –Directory \\App01\SharePointBackups -BackupMe...

STSADM commands for SharePoint backup and restore

SharePoint STSADM Backup and Restore Commands The following are examples of different STSADM commands you can use to back up and restore various components of your SharePoint environment. A full farm backup followed by a restore: stsadm -o backup -url http://app01/ -directory \\app01\sharepointbackups -BackupMethod Full -Quiet stsadm -o restore -url http://app01/ -filename \\app01\sharepointbackups –Overwrite Back up and restore configuration information only: stsadm -o backup -url http://app01 -directory \\app01\sharepointbackups -configurationonly -quiet stsadm -o restore -url http://app01 -filename \\app01\sharepointbackups -configurationonly –quiet Back up and restore a service application: stsadm -o backup -directory \\app01\sharepointbackups -quiet -backupmethod full -item "Excel Services" stsadm -o restore -directory \\app01\sharepointbackups -item "Excel Services" –quiet Back up and restore a site collection: stsadm -o backup -url http://...

How to create simple custom SharePoint timer job

Hi, Few things to create a custom timer job. 1. Create a Feature 2. Create a .cs file and inherit SPJobDefinition and write custom code there. The SP Feature Code Behind: You can change the GUID here if it exists already or creates any issue... [ Guid ( "6ecf1f21-11fa-4109-baf7-0099347b5031" )]     public class Entropic_Top_Blog_PostsEventReceiver : SPFeatureReceiver     {         // Uncomment the method below to handle the event raised after a feature has been activated.           public override void FeatureActivated( SPFeatureReceiverProperties properties)         {             SPWebApplication webApp = properties.Feature.Parent as SPWebApplication ;               // make sure the job isn't already ...

Top Software Houses in Pakistan 2014

Image
Which one is the best Software Company in Pakistan? NetSol Technologies Ovex Technologies TRG Tech System Pvt Ltd Elixir Tech Ibds Tera Data Enterprise DB (Fusion Itech.) Kalsoft Si3 System Innovations Mentor Graphics Xavor Corporation CureMD Datum Square Macrosoft Pakistan i2c Inc Techlogix Mindstorm Studios Gameview Studios   

Get user profile properties in SharePoint with Javascript/Jquery object model

Hello, This post will show you, how you can a ccess theuser profile information in SharePoint with javascript using client object model. Thanks to  Alexander for writing this post  as it was much helpful. Insert this code in a CEWP 1 <script type= "text/javascript" src= "https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" ></script> 2 <script type= "text/javascript"   src= "/test/EMSKJS/spjs-utility.js" ></script> 3 <script type= "text/javascript" > 4   5 var   userInfoObj = getUserInfo_v2(_spUserId); 6 var   name = userInfoObj.Title; 7 var   email = userInfoObj.EMail; 8 </script> I have incorporated the new The parameter “_spUserId” is provided by SharePoint and represents the current user’s userID. The function takes one argument which can be a userID or a login name (domainlogin or appname:user). If you use domainuser a...

How to take backup and restore a SharePoint site or subsite (Not Site Collection)

Use this.. Enjoy :) Export - spweb – identity http : //sp2010:8083/abc -path c:\sitebkup\mysite.bak Import - SPWeb – identity http : //sp2010:8083/ict -path c:\sitebkup\mysite.bak