SharePoint, TRACE.WriteLine and DebugView

I have been debugging some SharePoint 2007 webparts and have had to resort to TRACE output and the SysInternal DebugView; it is like ASP pages in the 90s all over again! Anyway had a weird problem that only alternate TRACE.WriteLine commands were appearing in the view. I have not found a reason why or a solution as yet, I suspect a buffer flushing issue, but you can work round it once you know it is happening....

January 22, 2008 · 1 min · Richard Fennell

Running the TFS Best Practice Analyzer and 2005 Team Explorer

If you run the 2008 Power Tools BPA against a TFS 2008 install that has the 2005 Team Explorer also installed on it you will get virtually no reports generated. It runs to completion but the reports are empty. This is due to some clash between the BPA and the TFS 2005 DLLs (V8.0). Removed the 2005 Team Explorer and it works as expected. Now you are probably asking why would I have 2005 Team Explorer on a 2008 install?...

January 16, 2008 · 1 min · Richard Fennell

Presenting in Glasgow

I will be doing a TFS and Continuous Integration session for Scottish Developers on the 12th of February

January 14, 2008 · 1 min · Richard Fennell

CCNet WebDashboard getting assembly does not allow partially trusted callers exception

Whilst installing a TFS & CCNet demo system I got an exception System.Security.SecurityException: That assembly does not allow partially trusted callers when I tried to load the CCNet WebDashboard. The problem was that default CCNet installer had created the WebDashboard on the default web site as the virtual directory http://localhost/ccnet As this was also a TFS server the default web site was a WSS3 server. Bascially the SharePoint did not like (trust) the CCNet virtual directory’s DLLs....

January 13, 2008 · 1 min · Richard Fennell

TF220066 Error installing TFS

I was installing a Dual Tier Team Foundation Server 2008 at a clients today and got a problem that when installing the Application Tier (AT) I entered the name of the Data Tier server (DT) and it said the server could not be found. Unlike TFS 2005, 2008 does not require you to to do a separate install on the DT to create the empty DBs, so I assumed it was just a connectivity problem....

January 10, 2008 · 1 min · Richard Fennell