From the outside in

The blog of Iain Angus

VBUG Newcastle: Introducing OpenXML with Craig Murphy – Wednesday 29th October 2008

Many thanks to Andy Westgarth for organising a very interesting talk on OpenXML, given by Craig Murphy yesterday. Craig gave an excellent introduction to Open XML file formats in general and specifically the Open XML Format SDK 2.0.

I've been working recently on a project migrating SharePoint 2001 Portals to MOSS. The project has had some tight deadlines, hence the absence of posts. I've used PowerShell to deploy and customise the sites. I'll try and post about my experiences using PowerShell with SharePoint.

Newcastle SharePoint User Group

I'm heading over to Newcastle for the SharePoint User Group tonight.

It's a whiteboard session on MOSS Architecture.

Newcastle SharePoint User Group

Hope to see you there if you are going.


Big thank you to John Timney (Cap Gemini), Brian English (Cap Gemini) and Phil Hunter (BT) for an excellent user group meeting. There was a mix of people from different industries, lots of round table discussion and good information shared.

I'm currently implementing an intranet/extranet MOSS architecture for 4500 users and found the whiteboard session invaluable.

Once again, many thanks.

SUBST, GAC and SharePoint

Working with SharePoint, sometimes you just have to install assemblies to the GAC. An example of this I have had to deal with recently was writing a webpart to access methods in the UserProfileManager class.

Debugging GAC installed assemblies can be a bit frustrating, hopefully the following steps will make it alot easier and obvious....

1. Install the assembly into the GAC

2. Map a drive using SUBST to %SYSTEMROOT%\assembly

SUBST maps a drive to a path - 

A mapped drive does not use the Assembly Cache Viewer and will show you the true folder structure.

3. Locate and open the GAC_MSIL folder in the mapped drive

4. Locate and open the folder containing your assembly. The name of the folder is the same as the assembly name.

5. Copy the pdb (program database) file from your project build folder to your assembly folder in the GAC. Because you have mapped a drive to %SYSTEMROOT%\assembly you should be able to do this easily with Windows Explorer.

6. Do an iisreset /noforce (this is not really required but usually helps - general rule of thumb for working with SharePoint).

7. Go to Visual Studio and attach the debugger to the w3wp.exe (remember there may be more than one depending on how many app pools you have).

You should now be able to hit the breakpoints you have set.

Silverlight 2.0

As Ferris Bueller said "Life moves pretty fast".

Silverlight 1.0 was released last September, the first public beta of Silverlight 2.0 ain't that far away...check out Scott Guthrie's blog post here.