Signing Powershell scripts with a Thawte code signing certificate

I hit a problem today when trying to sign a powershell script as detailed on Scott Hanselman’s blog with a Thawte code signing certificate. The basic issue was that the certificate could be seen in the Personal section of the Certificates MMC snap-in. Also it was listed if I issued the Powershell command Get-ChildItem cert:CurrentUserMy but if I added the flag to only show usable codesigning (Class III) certificates it was not listed. ...

September 10, 2008 · 2 min · Richard Fennell

September XPClub Meeting is this Wednesday

The next XPClub meeting is a double bill: Code Quality and Scala + Lift. and is being held at the usual venue the Victoria Hotel Leeds. This is a free event open to all. As usual drinks and snacks thanks to the club sponsors are free, also there will be a draw for one free personal license for any of the products by JetBrains - the new club sponsor.

September 7, 2008 · 1 min · Richard Fennell

Upgrading Team Foundation Server 2008 with SP1

Today I got round to upgrading our TFS 2008 (dual server setup) with Team Server 2008 SP1. I tried it first on my demo VPC I use for presentations (reminder I am at VBug Coventry at the end of the talking about TFS, a free event open to all). Anyway, this update went fine and did not take too long, 5 or 10 minutes. On the main system all seemed to go OK, but it did take around 45 minutes. I assumed the time it takes is dependant on volume of data in the DB, some sort of schema update I guess. ...

September 6, 2008 · 2 min · Richard Fennell

Controlling a Ajax Control ModalPopupExtender from Code behind

I have had a nightmare getting this going. Adding the ModalPopupExtender to a form is easy, you drop it on and tell it the two required controls parameters PopupControlID=“MyModalPanel” TargetControlID=“ButtonToLoadIt” And it just works fine, but is triggered by a client side click of the Target Control. If you want to do some server side code behind first you are meant to set the TargetControlID to a fake control that is visible on form e.g. “FakeButtonToLoadIt” IT IS VITAL THIS CONTROL IS VISIBLE AND HENCE RENDERED, but the control can be effectively hidden via CSS styling with something like Style=“display: none” In the code behind after your own processing you are just meant to call this.MPE.Show(); where MPE is the ID of your extender Well this did not work for me. If I clicked my fake control (when it was not hidden obviously) it all worked by the server side call just displayed my panel where it was in the underlying HTML flow - the extension never kicked in. ...

September 2, 2008 · 2 min · Richard Fennell

Speaking on Team System in Coventry

I am speaking at VBug Coventry on the 24th of September about Visual Studio Team System. For details have a look at the [VBug events](Elmbank Training, Juniper Room (Ground Floor), Mill Lane, Coventry, CV1 2LQ, GB) site, look forward to seeing you there.

August 21, 2008 · 1 min · Richard Fennell

eScrum 1,1 available

For those who have not seen it eScrum 1.1 is now available. This basically a update for the installer so it works on VS2008 so you don’t have to go through all the manual fiddling you had to in the past. So if you want a nice simple agile team project process, with a nice web site to give progress visibility, give it a look.

August 21, 2008 · 1 min · Richard Fennell

Why doesn't my ActionsPane appear when I create a new document form a VSTO enabled template?

When you are using a VSTO enabled Word Template inside a SharePoint custom content type you have to be careful which actual .DOTX file you use within the SharePoint custom content type. DO NOT - use the .DOTX from your VSTO Visual Studio project directory DO USE - the .DOTX from the the project’s ClickOnce publish location. The key point here is that until you have published the VSTO project via ClickOnce the .DOTX template does not know where to find the deployment of the associated assemblies. The copy in the project directory never actually knows this location as it is just a source file not a deliverable. ...

August 11, 2008 · 1 min · Richard Fennell

Argh... more media rights issues

I posted about NBC Olympic coverage - today I discovered I cannot stream BBC provided media content from the Olympics on my Windows PDA using Opera via the Vodafone 3G service. Seems the BBC does not think I am in the UK. I know Yorkshire assumes it should be independent, but I don’t think it has happened yet. I suppose this is all to be expected, technology that allows reasonable media delivery over a mobile network at a vaguely sane price is new; especially when roaming between countries/networks. I doubt we will see this problem disappear soon unless the media rights are more commonly picked up by the telco providers such as Vodfone as opposed to the broadcast media companies like NBC and the BBC. ...

August 10, 2008 · 2 min · Richard Fennell

No Silverlight NBC Olympics for us

After the announcement at Mix of the NBC Silverlight Olympic streaming service I was looking forward to have a look at what had been created. Turns out you have to be in the USA to watch it, I assume due to media rights issues, a bit of a shame. I hope something can be worked out with a small fraction of the 2200 hours of content so we can all see what Silverlight can do for such a major event. ...

August 9, 2008 · 1 min · Richard Fennell

Blog mirror

My blog is now being mirrored at http://msmvps.com/blogs/rfennell/Default.aspx as well as being available in it’s real location http://blogs.blackmarble.co.uk/blogs/rfennell To quote MSMVPS it is The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

August 7, 2008 · 1 min · Richard Fennell