Looking for a Graduate Job?

August 26th, 2010

Are you a graduate looking for a job?  Do you want a career in IT?  If so, we are interested in hearing from you.  Check out the advert on our jobs / careers page.

NHibernate, SchemaUpdate and MySQL LONGTEXT

August 25th, 2010

After spending a long time working on an NHibernate project where SchemaUpdate was not working against a MySQL database I spent some time looking into the issue.  No errors were being spat out, I wasn’t even attempting to execute against the DB, just generate the script.  It just looked like my DB was in synch with my mappings.  It wasn’t.

With much scratching of head and several hours of trial and error I finally discovered this one irritating fact:  If you have a table in your MySQL database that contains a mapped column of type LONGTEXT, don’t expect SchemaUpdate to work.  TEXT works fine, so does MEDIUMTEXT (thank the maker – as TEXT is not long enough for this project), but not LONGTEXT.

Grrrr!

We have moved!

May 13th, 2010

As of this week, we now work out of our new offices in the East End of London. Our new address is:

15 – 20 The Oval
London
E2 9DX

2 minute walk from Cambridge Heath rail
5 minute walk from Bethnal Green underground

First EPartner Site Launched

December 16th, 2009

We take great pleasure in announcing the launch of the first website in the Faber Music EPartners scheme, MusicRadar’s guitar tab download store.

We have been working in partnership with Faber Music for the past three years on all the backend systems and catalogue management tools and building the ecommerce system using Mediachase’s ECF platform was the final step to bringing our hard work into the public domain.

The EPartners scheme is centred around a hub of legal and approved downloadable sheet music. Any EPartner can sell any item and any EPartner can contribute sheet music to the hub. So if you’ve got a burning desire to sell your accordion arrangement of Welcome to the Jungle then EPartners scheme is for you.

More EPartners sites will be coming in the New Year along with a new Faber Music site and store.

LinkButtons, UpdatePanels and IDs

June 2nd, 2009

I have an Repeater control sitting on my page, in the ItemTemplate of which are a couple of Button controls which do various things – delete the item, open the item’s detail pages etc… I think it would be nice to wrap the whole thing in an UpdatePanel to give it that whole AJAX-y feel. All good.

Then the client asks if the buttons can be links instead of buttons. No problem, think I, and go ahead and change the Buttons to LinkButtons. At which point the application stops working. Clicking on the link buttons does a full post back (even though they’re in the UpdatePanel) and their associated methods in the code do not fire. Very strange. I remove the UpdatePanel and the methods fire. All very odd.

Now, I don’t like giving IDs to controls that I don’t reference directly in the code. So as a matter of course I remove IDs from things like Buttons, LinkButtons etc… Which is all fine until you put a LinkButton in an UpdatePanel – where an ID is necessary.

So, if you have a LinkButton within an UpdatePanel and it is doing an unexpected post back and the onclick event is not firing, check that you have an ID on it.

JIRA and Confluence for next to nothing

June 2nd, 2009

Someone just sent me a great deal available on two Atlassian products, JIRA and Confluence. Both these products normally cost in the region of a $1000 and are currently available for just $5, all in the aid of charirty. I’ve heard great things about both of these products so i’m looking forward to using them on our projects.

More details here. This offer only runs until the 24th April so you’ll have to be quick to snap it up.

Visual Studio hangs on debug

May 13th, 2009

So, I start our blog off with what will hopefully be a useful tip for anyone else who comes across this problem.

Certain projects within Visual Studio 2008 would not allow me to debug. I could attempt this either through pressing F5 or through attaching to the already running project via ctrl-alt-p, but the result would be the same – Visual Studio would hang. Killing the devenv process would be the inevitable next step.

I stumbled upon this solution when frantically trying to sort this out. Bingo!

Without wishing to tread on Sedge.Rev’s toes, here is a step by step method to fix the problem.

  1. Using a text editor (Notepad, Context etc…) open the .csproj file for the offending web project and find the ProjectGuid node (around line 5).
  2. Generate a new guid – my preferred method is using command line sql (obviously only works if you’ve got SQL)
    sqlcmd -E -Q "select newid()"

    though I’ve just discovered this Online GUID Generator which will probably be where I get them from now.

  3. Search for the guid from step 1. and replace with the guid from step 2. in the .csproj and .sln files for that solution.

Open Visual Studio, load the project / solution and no more debug problems!