Monday, September 27, 2010

URLscan ini file exceptions

I installed  the IIS URLscan extension this morning, as recommended in Scott Guthrie's blog post

This promptly stopped Outlook Web Access from working. The URLScan log file showed me what was wrong. I had to loosen up from the default position by setting:

AllowDotInPath=1 in the [options] section

adding the following verbs to the [AllowVerbs] section


SEARCH
SUBSCRIBE
PROPFIND
POLL
BPROPPATCH

and commenting out

Translate: in the [DenyHeaders] section;
:  (Don't allow alternate stream access) in the [DenyUrlSequences] section. This was causing any email subject with a colon (Re: your message) in it to be rejected;
.. (Don't allow directory traversals ) in the [DenyUrlSequences] section. This was causing email subjects ending in . to be rejected.

Labels:

Wednesday, September 15, 2010

Merging cells in a gridview

This post http://jingyang.spaces.live.com/blog/cns!CC21A118B1B5250!192.entry showed me how to merge cells in a gridview (I was principally interested in the footer row).

Say you want to merge cells three and four of a ten column row, you'd start by getting rid of cell four and then setting the ColumnSpan property of cell three to be two. Note the index is zero-based.

Gridview1.FooterRow.Cells.RemoveAt(3)
Gridview1.FooterRow.Cells(2).ColumnSpan=2

Straight forward. What it took me a while to work out is that now you only have a nine column row, so if you wanted to then go on and span across what were originally columns six and seven you actually have to do:

Gridview1.FooterRow.Cells.RemoveAt(5)
Gridview1.FooterRow.Cells(4).ColumnSpan=2

I found I was writing code that appeared to be removing the same column twice!

Labels:

Friday, October 12, 2007

Karma Bea


Our beautiful Karma Bea was born at 1114 on 04/10/2007 in Trelist Hospital - almost a week before her due date. I had been speaking to Hanna on the Tuesday evening and she said she thought contractions had started and that she might go into labour that evening. I packed a bag in case and went to dinner with Toni.

Friday, September 21, 2007

Podcast

I've made my first podcast!
Click here and in the new page choose the podcast channel you want (there's only one at the moment - tunes for lleyam) Then use the link to subscribe, or if you have Safari, subscribe to iTunes, and then you'll automatically get any new ones I make.

Melanie

Lleyam took me to see Melanie

Atonement

We went to the movies.

Hanna came to stay for the weekend

It had its ups and downs!
Hanna bought me some new glasses for my birthday after the last ones got broken. It's taken me a while to get used to them.
Dini, Stelio and Toni came round to Sunday lunch and brought presents for Karma.

Everything that's happened during August and September

So much has happened - I went on holiday to France. I went to stay with John and Janara. I've moved the piano into the back room and dismantled my studio - no pretending to be a composer anymore! Susan and Anna have re-decorated the bedroom in readiness for it being Karma's nursery. Hanna will not be coming back to London but will be having our baby in Cornwall. She's much happier now and living with Lucy until she decides what her future will be. Toni has bought Karma a cot and a car seat. More details soon.

John & Janara

Janara and John got married - more about it here soon.

Sunday, July 22, 2007

Sharon

Sharon is pregnant with a baby girl, due on 6th September! She emailed me yesterday to tell the news. I haven't been in touch with her this year, so she didn't know about Hanna. What a strange co-incidence that the two of them should be having their first children at around the same time. I wonder what their shared karma can be and whether the two children will ever meet.

Friday, July 20, 2007

Raul Midón

I went with Susan last night to the ICA to see Beverly Knight, who was predictably fabulous. The gig was part of the iTunes Music Festival which, amazingly, I won tickets to! Great to be three rows from the front in that tiny space with a ten piece band and full on performance from Beverly Knight. But the star of the show, for me, was the support artist, Raul Midón, who I'd never heard before.His great soul voice, with hints of Stevie Wonder and Sean Benson, his incredible guitar technique and a unique ability to mimic a variety of jazz horn licks, made him sound like a whole band and wowed me with a deep joy. His intensely emotional lyrics made me cry, especially Song for Sandra, which spoke so much for how I currently feel. Check him out in this uTube clip.

Thursday, February 03, 2005

First Post

Well this is my first post using the Google blogger software - playing around with this when I should be getting ready for work.