Write to the SharePoint 2010 Developer Dashboard With JavaScript

When developing JavaScript solutions, I like to provide a tracing mechanism that can be turned on and off to aid debugging.  The IE Developer Tools, debugger and Fiddler are very robust debugging tools, but they don’t enable client script code to trace custom messages to a “log” that can be reviewed by developers.  The SharePoint…

1

SharePoint Database Naming Standards

Call me picky, but I think it’s important to consistently name your SharePoint databases—especially on a shared SQL Server hosting multiple farms and applications.  Not only is it a good practice, but by showing that you care about the databases, you’ll earn the respect of even your most grumpiest DBAs.  I wish the SharePoint administrative…

4

SharePoint 2010 Localization with Visual Studio 2010

In this walkthrough, I’ll show you how to create a SharePoint 2010 localized feature using Visual Studio 2010.  The basic mechanics of localizing a SharePoint 2010 feature are the same as localizing a SharePoint 2007 feature, and is well documented.  If you are unfamiliar with localization in SharePoint, please see Additional Resources at the end…

14

How to Install SharePoint 2010 On Windows 7

Here is a high-level overview of the steps required to install SharePoint 2010 (Beta 2) on Windows 7 (x64): Extract / copy SharePoint setup files to your computer Edit files\setup\config.xml and add the AllowWindowsClientInstall = TRUE setting Manually install prerequisites Enable Windows features (via command line) Install SharePoint (standalone), but do not run the configuration…

0

Enable the Developer Dashboard using the Object Model / Powershell

The SharePoint 2010 developer dashboard has three display levels (see SPDeveloperDashboardLevel Enumeration.): Off (default): The dashboard is not displayed, and there is no UI element to turn it on On: The dashboard is displayed, and there is no UI element to turn it off: OnDemand: A UI element enables you to turn it on or off There…

1

Visual Studio Extensions for Windows SharePoint Services (VSEWSS) Error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information

One error you may see when packaging solutions with VSEWSS is:  Microsoft.SharePoint.Tools.Utilities.VSeWSSServiceException VSeWSS Service Error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.  Like most error messages from VSEWSS, there is not enough information provided to resolve the issue, so I hope to save you some…

6

A Simple Build Script for Packaging Visual Studio Extensions for Windows SharePoint Services (VSEWSS 1.3) Projects with Team Build

In a previous post, I provided a walkthrough for automating builds for VSEWSS 1.3 projects.  The script I used was based on the SharePoint Guidance Drop 11, and after using it, I felt it could be simplified.  I’m a proponent of implementing the “simplest possible thing that will work,” and the following build script contains…

0

Visual Studio Extensions for Windows SharePoint Services Error: System.ArgumentException, Value does not fall within the expected range

A common error you may encounter when using VSEWSS 1.3 is “System.ArgumentException, Value does not fall within the specified range.”  This post outlines the common causes and resolutions for the issue.  One suggestion I have seen on the web is to delete the pkg directory since it is auto-generated each time.  It is important that…

1

Automate SharePoint Solution Builds with Visual Studio Extensions For Windows SharePoint Services (VSEWSS) 1.3

In this walkthrough, I’ll demonstrate how to achieve automated builds and continuous integration by creating a build script for VSEWSS 1.3 solutions.  The patterns and practices SharePoint Guidance  (11 drop) contains an example build script that this article is based on, but I found some issues with it in practice that I’d like to share. …

8

RV-AIR: A Five-Step Process to Troubleshoot and Fix Just About Anything

Effective troubleshooting is an important skill not only in the information technology field, but in many other professions.  Auto mechanics, electricians, counselors and doctors are essentially professional troubleshooters.  They identify problems, theorize solutions from their knowledge and experience, and systematically test them whether they be a new alternator or a prescription for high blood pressure…

5