Paul Hammond's Blog

Agile, Software and Life


Feed your aggregator (RSS 2.0)


individual post icon

I have been an “on again, off again” runner for a few years now.  Whilst I used to play a lots of sports back in school, I used to hate running.  This was probably due to a lack of determination to run through the harder moments (hills, stitches etc).  However, more recently I have found running to be very therapeutic.  When running alone it is easy to get lost in a rhythm, thinking of nothing but reaching your goal.  When running with friends, it is great to just be able to spend time being social whilst hopefully getting fit.  That said, I have been “off again” for a while now.

However, yesterday marked the first day of a hopefully extended “on again” period.  I ran for 30 minutes on the treadmill in my garage.  Now that the weather is decidedly better, I plan on starting running outdoors on Tuesday and will hopefully manage 3 times a week at least from there.  The biggest hurdle will be to continue running frequently while on holiday in Florida in a few weeks time…

I am lucky that within a few hundred yards of my office there are two magnificent London parks that I can run around in my lunch hour.  I run along the Mall, around Green Park, cross over the Mall again in front of Buckingham Palace and then around the edge of St. James’ Park.  This is a distance of about 5k/3 miles, so constitutes a good work out.  I have created a pushpin map of this over on Windows Live Local in case you want to try it.

My friend John has a goal in mind for his recently instigated training regime – the Great North Run.  I prefer 10k runs myself, but unfortunately I am not around for the one I would usually run.  I will just have to find an alternative.  Any suggestions for a good 10k run in the UK anyone?

I got a Polar S610i watch for my birthday, and yesterday was the first time I have used it.  It will store profiles of your heartrate during your workout, and I can download them to my computer.  I think it will make a world of difference to me, since it can show me in hard numbers that my fitness is improving over time.  Being the competitive soul that I am, beating myself is always a great motivator!

individual post icon

I just wasted about an hour of my time.  I should have known the answer to this sooner really, given recent pushes for locking down security out of the box.

I restored a SQL 2005 database from another server onto my local development box.  Then I tried to connect to it from within some ASP.Net code.  Every time I did so, I kept getting “Invalid Connection”.  That was it, no further information that was of any use whatsoever.

Now, anyone who has transferred a SQL database from one machine to another knows that the Users and Logins get a little messed up.  Take “sa” as an example.  The login “sa” still exists, but the database user “dbo” invariably gets orphaned from the “sa” login.  You can fix this quickly and easily by issuing the following command in the database you are having issues with:

use [YourDatabaseName]
go
exec sp_changedbowner ‘sa’

For other Logins/Users that become unstuck, there is a good troubleshooting guide here called Fixing Broken Logins and Transferring Passwords.

However, once I had fixed up my users, I was still getting the same error.  After about an hour of drilling through almost every dialog in the SQL Server Management Studio, I found the utility called “SQL Server 2005 Surface Area Configuration” in the SQL Server 2005 start menu group.

When you run it, click on the following link at the bottom of the main screen:

SQLServerSurfaceArea1

Once the component list has loaded, select “Remote Connections” from the left hand treeview, and then ensure that “Local and remote connections” is selected (along with whichever option works for you for the “Using” statements).

SQLServerSurfaceArea2

As it says in the dialog, by default SQL 2005 is locked down to “Local connections only”.  Changing this to “Local and remote” made my “invalid connection” issue magically disappear.

Finally, I can get on with some work…  :-)

individual post icon

I spent last week in the French Alps with my family – my sister was getting married so we all travelled over there to be with her and her new husband, and to celebrate the big day.

Twelve of us stayed in a chalet together – my parents and their partners, my sister and her family (husband and two kids), and my family (4 of us).  Many of you may be shuddering with dread at the thought of spending 5 days with your entire immediate family, but it actually went OK – almost NO tension at all.  Almost!

The wedding itself happened at the top of the mountain, right there in the snow.  It was a pretty amazing scene – the sun shone, the champagne was on ice (well, dug into the snow!) and a ton of people made the trip up the mountain to witness the event.  Great times.

I have never ski-ed before last week.  I spent Tuesday and Wednesday practicing and seemed to pick it up quite quickly.  I was able to ski down the mountain with the happy couple and all their friends after the event.  I was very proud of myself for making it all the way down – there were some pretty steep bits!  I only landed on my backside 4 or 5 times too…

What surprised me was how good the kids were.  All four of them (my two and my niece and nephew) really picked it up quickly.  I wonder how good they could become with a couple of weeks in a ski school.  Probably as good as all the other 6 year olds who were zipping past me on the way down from the wedding…

All in all, it was a good time, despite only being 5 days.

PIC_0033    CRW_9598

 


Search phammond.com.
Blog Post Calendar
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Month View
Images from Flickr
{ paul hammond }. Get yours at bighugelabs.com/flickr
© 2010 Paul Hammond Send mail to the author(s)

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Sign In