Posts

Showing posts with the label SharePoint 2010

SharePoint 2010 PowerShell cmdlets

http://technet.microsoft.com/en-us/library/ee890108.aspx

Enabling/ Disabling Developer Dashboard in SharePoint 2010

Developer dashboard is not only for Developers, the administrators can also take good advantage of it. They can do quantitative analysis if their site is slow then how much slow and when the users started raising complaints. There are three in which this DD can remain: 1. OFF (which is by default) 2. ON - which turns it on all the time. It is generally not a good option as it causes performance overhead and turning it on would make all the Site Collection Admins to see it. 3. On Demand – It appears like a small button and site collection admins can turn it on any time they want. This is most feasible option. To set it to OnDemand, execute following powershell cmdlets: $dd = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings $dd.DisplayLevel = ‘OnDemand’ $dd.TraceEnabled = $true $dd.Update() This is enabled on the whole farm so you can go and look the the Right-Top of the site where a white colored button should appear. Upon clicking...

SharePoint 2010 Error Log Viewer

Perhaps I posted this before, but if not, I am posting again for my reference. Use this tool to view SharePoint 2010 Error Logs: http://code.msdn.microsoft.com/ULSViewer/Release/ProjectReleases.aspx?ReleaseId=3308 SharePoint 2010 Log files are usually located here, sort by date and open the latest one in the ULS Viewer: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS Create a “Filter” and select “Message” and enter “Error” in value. This should give you all error entries in the file and you can find out what is wrong.

Before Uninstalling the Filestream Provider for Remote Blob Storage for SharePoint 2010

Before uninstalling the Filestream provider, make sure that you have content migrated back in the content database. To ensure this, just open “AllDocStreams” in the SharePoint Content database and look at the “Content” and “Rbsid” columns. the “Rbsid” columns should be NULL and “Content” column should be filled with data. If you uninstall the RBS provider before migrating the data back in the content database, all the data will become unavailable/ inaccessible. Use following command to Migrate content back and forth from and to DB to Blob Store: $rbss.SetActiveProviderName(“”) $rbss.Migrate()

Enabling Remote Blob Storage on Content Database Again

The scenario was, I installed the RBS with Filestream and uninstalled the RBS and realized that all the blobs are still out there on file system due to which the uninstall process failed. Now I tried to call $rbss.Migrate() in PS but it failed because the RBS was no longer installed! I tried to call $rbss.Enable() but it failed with an error saying “SQL Remote Blob Storage should be installed on the web front end and content database before your can enable it” something like that. I re-installed RBS and filestream provider but it didn’t let me enable it and kept giving error. RESOLUTION and Lesson Learnt: To resolve the error, I re-booted the server and it worked. It is important to note that after installing RBS, it is required to restart the windows if are failing to “Enable” it on the content database.

SharePoint 2010 - Upgrade License from Trial

Go to Central Administration>Upgrade and Migration>Convert License Type> check the current license under Current License. Enter new key to upgrade to new license type.

SharePoint 2010 Getting Started–Hands-on Labs by Microsoft

Here are some Microsoft’s SharePoint 2010 Hands-on Labs to get started with the development. Very useful! Microsoft has worked really well to produce quality content to explain its products to all sorts of users. As more and more organizations have already adopted previous versions of SharePoint, there is plenty for content already published related to SharePoint 2010 for those who are jumping in now.