Don’t Claim to Be Someone You are Not

In SharePoint 2010 you have the option of setting your Web Application to use Claims based security or Classic security which is the same as Windows security, aka like we did it in SharePoint 2007. While playing around with an anonymous site which was hosted within a Web App which was configured for claims I came across something interesting that I wanted to make sure you all were aware of. Although your Web Application is configured for claims your OS still uses Windows authentication, this means your AppPool and your IIS anonymous user are not using Claims.

Continue reading “Don’t Claim to Be Someone You are Not”

A Session State By Any Other Name

Recently Mark Arend and I were helping out a co-worker setup Session State on SharePoint 2010 and he pointed out something very important; while I was providing the means to enable the “State Service” I was not providing the method to turn on ASP.Net session state. At first I was not clear on the distinction however once I read his email for the 3rd time after my second cup of coffee I finally got it..while I was using New-SPStateServiceDatabase to setup the State Service DB he was suggesting to use Enable-SPSessionStateService. Yea it looks pretty clear now that these are two very different commands however in my stupor after working on User Profile Sync issues over the past couple of days these were equal in my feeble mind.

Continue reading “A Session State By Any Other Name”

Automated Install of User Profile Sync can be a Challenge

Over the last two days I have had a hard time setting up User Profile Sync on SharePoint 2010. I chose not to run the wizard or use the UI to install the service but instead chose to use this PowerShell script to setup the Service Application’s and Proxies and then start the User Profile sync service. Now this is where things went bad…

Continue reading “Automated Install of User Profile Sync can be a Challenge”

Keep it Short When Dealing With SharePoint’s PSConfig

Ran into an issue today when setting up my SharePoint 2010 development VM that I suspect a few others may hit as well. I found that no matter what I did I could not get the User Profile Synchronization service to provision. My dev machine is a single-server everything, that is, its a DC, DNS, SQL and SharePoint.After struggling with this for a good while I booted up another VM which was based on RC and discovered that when I navigated to the Services on Server page it showed the name as “sp2010dev” while on my broken box it was “”.

Continue reading “Keep it Short When Dealing With SharePoint’s PSConfig”

The Wizard Likes His GUIDs

SharePoint 2010 includes a new Configuration Wizard which guides you configuring the SharePoint Service Applications. One of the downsides of running this wizard however is that the Database Names generated by the wizard contain a GUID in the name, for example “Performance Point {guid}”. If you are like me you are probably not being a big fan of naming something with a GUID when that object is typically read by humans. Each SA can be configured individually via the UI however a couple cannot, e.g. the State Service SA. I created the script below which will configure each SA (minus the Application Registry and Lotus Notes SAs) into a single Service Application, SQL server, and will start the services. While its probably a nice script to have for a single server development or test machine it will likely need to be changed for larger “real-world” deployments. I include it here however as an example to help you get started or if you have a dev box where you want to use GUID-less DB names. Please note that I did not take the time to configure each SA with the exact defaults as the Wizard – while totally possible I have a few other items on my plate but did want to share what I had as of now…

Continue reading “The Wizard Likes His GUIDs”

Waiting for My Royalties From Pixar

I spent some time recently in Microsoft Studios recording SharePoint videos which will soon be released to TechNet. During the review of the videos a friend of mine, Vesku, pointed out one video in which my expression was a bit odd. Taking a look at the image I immediately discovered an unfortunate truth – I look like Carl Fredrickson…

Continue reading “Waiting for My Royalties From Pixar”

An Expected Error Has Occurred

There is not a single sole on this planet which has used SharePoint that has not seen the error message “An Unexpected Error has occurred”. Bold statement, and obviously I don’t have the research to back it up but you must admit its an error allot of folks see from time to time if you spend any time on a SharePoint site – hopefully that will change soon.

Continue reading “An Expected Error Has Occurred”