SharePoint

SharePointConsole Updated

My SharePointConsole has some new commands.

If you don’t know it, it is a command line utility which allows you to perform some common tasks. Currently the theese commands are implemented:

  • EnumContentTypes
  • CreateContentType
  • RenameContentType
  • DeleteContentType
  • DeleteAllListItems
  • ShowInNewForm
  • ShowInEditForm
  • ShowInDisplayForm
  • DeleteAllVersions
  • RecycleAllVersions
  • SetTitleWithFilename
  • SetSearchCenterUrl
  • SystemUpdate
  • FeatureManager
  • EmptyRecycleBin

Download  Download the SharePointConsole

Solution deployment fails

Deploying a SharePoint solution (.wsp file) to a SharePoint farm should be easy. Even if the farm contains 4 SharePoint Servers.

Just stsadm –o addsolution –filename solution.wsp. Some waiting so the deployment is done on every server, and we should be happy.

Well, the result was an Error in the solution status. Additionally the ULS log showed

Updating SPPersistedObject SolutionOperationStatus Name=SolutionOperationStatus Parent=SPSolutionLanguagePack Name=0. Version: -1 Ensure: 0, HashCode: 38896601, Id: 87c32e71-13f0-4d85-a215-29f1d180d239, Stack:    at Microsoft.SharePoint.Administration.SPPersistedObject.Update()     at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.SetOperationResult(SPSolutionOperationResult opResult, String msg, SPWebApplication webApp, Int32 updatesPerServer)     at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.DeployFilesInstallFeatures(SPWebApplication webApp, Boolean globalInstallWPPackDlls, Boolean installFeatures, Boolean force, Int32 tries)     at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.DeployLocalCore(Boolean globalInstallWPPackDlls, Collection`1 webAppl…

BASTA! 2009 – Ich bin dabei

Auf der diesjährigen BASTA! in Mainz Ende September werde ich als Redner dabei sein.

Wie auch schon auf der SharePoint Konferenz in München, werde ich einen Vortrag über Webpart Entwicklung halten.

Wer kommen möchte, kann noch den Early Bird Rabatt bis zum 29. Juni mitnehmen.

Installation of SharePoint SP2 fails

During the update, you can run into the following exception:

Exception: System.Data.SqlClient.SqlException: Address Windowing Extensions (AWE) is not supported in this edition of SQL Server.
Configuration option ‘show advanced options’ changed from 0 to 1. Run the RECONFIGURE statement to install.

To solve the issue and be able to install the SP2 to your SharePoint Servers, you will need to disable the AWE option in the SQL server properties. If you like, you can switch it back on after the update.

Updated SDK

Microsoft has released a new version of the SharePoint SDK. Go and grab it 🙂

So what is new in the release?

WSS

  • Expanded documentation of backup and restore features
  • Complete documentation of Microsoft.SharePoint.Administration.Backup
  • New documentation of the administrative object model
  • Revised Web Part documentation
  • More migration support
  • Expanded and updated reference documentation

MOSS

  • Custom Federated Search Web Part with a Credentials UI
  • Federated Search SQL Server Connector
  • Federated Search HTML to RSS Connector
  • Federated Search Virtual Earth Map Connector

Next SharePoint – Microsoft SharePoint (Server) 2010

The next SharePoint Server will be “Microsoft SharePoint Server 2010”. No more Office in the server product names. That will make it much easier to talk about the products. We can forget SharePoint 14. Welcome SharePoint 2010!

You can read the announcement at the official SharePoint Blog.

The SharePoint Services will keep the name and have many new features. What exactly these features might be, is still in the dark 🙁

How To get the default page from a website

This post is a follow up for my post “ Get default page Url”.

When you access an SPWeb through a URL in your browser, you will be redirected to the default page like home.aspx.

Each SPWeb has a RootFolder. And this SPFolder has a property “WelcomePage”. This property stores the relative path to the default page like “wiki pages/home.aspx”.

 1: SPContext.Current.Web.RootFolder.WelcomePage

Control Adapters

With a Control Adapter you can customize the rendering of an attached control. Certain control methods can be overridden with custom code, to make the control behave differently.

Some Control Adapters for SharePoint, which already exist: