Web Part “Error Creating Control” in SharePoint Designer

When you are developing custom SharePoint web parts using SharePoint Object Model, it’s not enough that you can properly render contents in “Browse mode”.  Your web part must also take into account when the page it is attached to goes into “Edit mode”. In this blog post, I enumerate the different states the web part … Read more

Create ‘Open Tool Pane’ link in custom .NET Web Parts for SharePoint 2010

Back in SharePoint 2007, it was pretty popular to use the built-in Javascript function MSOTlPn_ShowToolPane2Wrapper to put the Web part page into edit mode and have the Web part properties editable. Typically, you would put something like the following in your Web part class code: In the example above, I render a “please configure the … Read more

SharePoint 2010 in Windows 2008 R2 and Kerberos

There are two options when configuring SharePoint 2010 security in “classic mode” (as opposed to claims-based). You can use Basic (NTLM) or Negotiate (Kerberos). If you use NTLM, you may run into double-hop issues. This is why you will probably want to use Kerberos over NTLM (this assuming you’re not yet moving towards claims-based authentication). … Read more

Sharepoint Products Configuration Wizard-CREATE DATABASE permission denied

When you run the SharePoint Products Configuration Wizard for the first time, you get the following error: System.Data.SqlClient.SqlException: CREATE DATABASE permission denied in database ‘master’. This means that the domain account you specified to connect to the SQL Server does not have permissions to create the SharePoint config database. So go to your SQL Server … Read more

Error installing SharePoint 2010 Prerequisites

When installing SharePoint, you have to install prerequisites first. If you launch the SharePoint Prerequisites Installer from the SharePoint setup GUI (clicking the link), you may notice that most prerequisites (like IIS) installs correctly but there are some that wouldn’t install correctly. Some of the errors that I experienced: Error: Startup task doesn’t exist. This … Read more