Which one is my Process ID?

Now with SharePoint and Dynamics CRM running on the same dev box, attaching to a Process ID can become a challenge in identifying which one is what. Luckily, IIS comes to the rescue. In a command prompt, run appcmd with the list command to list all the worker processes and the associated application pools. The... Continue Reading →

Configuring and modifying search scopes in SharePoint

At the Central Administration Level (across the farm) Open up Central Administration > Application Management Under “Service Applications” click on Manage service applications Click on Search Service Application Under Queries and Results on the Quick navigation click on Scopes From here on instructions are identical to the steps performed at the Site collection Level. At... Continue Reading →

“The farm is unavailable” message

So you’ve set-up your account to be a farm admin, and you’re trying to deploy your solution. But you get the message above. That is because, even though you are a farm admin, your account does not have the proper permissions to the SQL database. Check that first. Keep in mind, in 2007 certain update... Continue Reading →

Debugging SharePoint 2010 using PowerShell

Are you lazy like me, and hate walking through thousands of lines of error messages logged in by ULS? Well, now with PowerShell, life is about to get so much easier. Welcome to Get-SPLogEvent. How to use: Get-SPLogEvent | ?{$_.Correlation –eq “Your-correlation-id-GUID”} | ft Timestamp, Category, Message –Autosize What you get is the category and... Continue Reading →

SP2010 move site collection to new database

As you’ve probably seen by now, once you create multiple site collections in the same web application, you don’t get a lot of options as far as database location. Well, it’s really not that complicated: Create the databases for the new site collections (easy enough in CA) Run the following PowerShell command for each site... Continue Reading →

SharePoint 2010 Developer Dashboard

Part of SharePoint 2010, a new tool was added to made life easier: the developer dashboard. By default disabled, you can enable it multiple ways: Using STSADM: stsadm –o setproperty –pn developer-dashboard –pv ondemand Using PowerShell: $level=”OnDemand” [void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) [void][System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Administration”) $contentSvc=[Microsoft.SharePoint.Administration.SPWebService]::ContentService $contentSvc.DeveloperDashboardSettings.DisplayLevel=([Enum]::Parse([Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel],$level)) $contentSvc.DeveloperDashboardSettings.Update() Write-host(“Level:” + $contentSvc.DeveloperDashboardSettings.DisplayLevel) Values available to be set for the developer dashboard: On... Continue Reading →

SharePoint DEV

Ok, this should be common knowledge by now, but when setting your own development box for SharePoint (whether it’s 2007 or 2010), these are the changes to web.config required to show proper error messages, and none of that “friendly” end-user centric messages: <configuration> <SharePoint> <SafeMode CallStack=”true” … /> … </SharePoint> <system.web> <CustomErrors mode=”off” /> …... Continue Reading →

Team Sites on Publishing Template

This is not something I do every day, and I keep forgetting how to do it, so I’m posting this as a self-reminder. On a Publishing site (collection), if I need to add sub-sites based on the Team Site template: Go to Site Settings > Look and Feel > Page Layouts and Site Templates Add... Continue Reading →

A WordPress.com Website.

Up ↑