Monthly Archives: July 2010

WSPBuilder config settings

There are many settings you can tweak with WSPBuilder. Type wspbuilder -help at the command prompt to get a complete list of them. You can set these settings via the command line args, or a config file. To use a … Continue reading

Posted in SharePoint, WSPBuilder | Leave a comment

How did Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll ended up being in the SafeControl list??

In SharePoint, The SafeControl list is defined in the web.config and is a white list of controls that can be placed onto a SharePoint page. The other day I was packaging my solution using WSPBuilder, deploying the WSP, and found … Continue reading

Posted in Enterprise Library, SharePoint, WSPBuilder | Leave a comment

Cannot connect to TFS: TF31002 and TF30331

Symptom: Cannot connect to TFS and the following error messages appear: TF31002: Unable to connect to this Team Foundation Server: Foundation Server Url: Possible reasons for failure include:– The name, port number, or protocol for the Team Foundation … Continue reading

Posted in TFS | 4 Comments

Querying a Hyperlink field using CAML

Recently I had a requirement to search for items with a certain URL in the Hyperlink field. I noticed that the value being stored in the Hyperlink field is of the format ,. The is an absolute URL. Using a … Continue reading

Posted in CAML, SharePoint | Leave a comment

New CAML operator in SharePoint 2010: IN

It took me 20 mins to work out why my CAML was working against 1 environment and not another. It turns out because I was using the IN operator and that’s new in 2010 and not available in 2007. This … Continue reading

Posted in CAML, SharePoint | 2 Comments

CAML Gt AND Lt AND calculated field AND the wicked U2U CAML Query Builder

U2U CAML Query Builder is a must have tool for SharePoint developers, but today it was giving me grief. I have a calculated column called ‘Duration (months)’. I wanted to find items where duration is less than 24 and more … Continue reading

Posted in CAML, SharePoint, SPFieldCalculated | Leave a comment