Testing SSL URLs when using SSL Termination

Here’s the situation, SSL is setup to terminate at the load balancer.  Sticky sessions are setup as well, so once you hit a particular WFE, your future requests are routed to the same box.  The problem is that there is not an easy way to validate that the sites are responding from a client machine,…

0

Why is my control working even though I don’t have a SafeControl entry?

This one came as a surprise to me.  Customer pushes out a master page to all their site collections using a solution and feature.  The master page has a server control that renders some information, so the control should have a SafeControl entry in the web.config file.  Oddly enough, the sites render using the master…

37

Finding a workflow using an activity

Had an issue come up where we wanted to find all the workflows in a SharePoint 2007 environment that were using a certain workflow activity.  Each list has a workflow association collection that tells you the workflows that are configured for the list.  From the workflow association, we were able to find that each workflow…

2

System.Security.SecurityException accessing TermSet

During some upgrade testing, a customer found one of their custom controls not working in the 2010 environment.  They had built out a custom search web part that contained a custom property picker control.  The custom property picker control allowed users to leverage the Picker.aspx page to select specific properties that are associated with a…

0

PowerShell to change the UIVersion on a subweb in SharePoint 2010

Recently ran into the need to revert a specific web back to the SharePoint 2007 UI after an upgrade to SharePoint 2010.  The main reason for the change was a custom masterpage that was not ready for the 2010 styles and ribbon.  After the UI was upgraded, the masterpage rendering was pretty bad.  The Site…

1

For perf’s sake, check-in your XSL files

We were running some load testing on a SharePoint site that will be hosting a company’s portal page.  The page relies heavily on ContentQueryWebParts that have custom XSL files specified.  Before starting the load testing, we were expecting to see the backend databases getting hit pretty hard due to some business requirements that prevented them…

3

Starting UserProfile service with PowerShell

Ran into something interesting while trying to script out a farm install.  I was trying to generate generic functions to create service applications and start the associated services, and kept hitting issues starting the User Profile Sync service.  The first hurdle you have to jump is that you have to run your PowerShell script as…

1

Updating a SharePoint 2007 WSP in Visual Studio 2010

For this scenario, we have a WSP file that was packaged a few years ago and deployed to a production SharePoint 2007 environment.  After the original WSP deployment, changes and additional files were pushed out directly to the file system.  This brings up a couple concerns: If there was a full DR scenario where all…

0

Unable to edit documents in SharePoint 2007/2010

This was a pretty interesting issue as it caused some unique symptoms, as well as closing up an issue I blogged previously with regards to Self-Service Site Creation Announcements.  The symptom we have was that users could upload documents to document libraries, but they could not edit them.  For example, they would click a link…

3

Self-Service Site Creation Announcements keep showing up

Self-Service Site Creation is a feature that lets end users create new site collections without the need to access Central Administration.  You turn it on for the Web Application, and when you do, an Announcement is added to the first Announcements list that is found in the root site collection.  The announcement looks like: You…

0