Category Archives: Fixes

Make Docker play nicely with UFW

I’ve been spending a lot of time working with Docker over the last year, primarily in Ubuntu environments. So long in fact, that I seem to have forgotten this blog exists 🙂 Something it took me a while to figure out was how to stop Docker from bypassing UFW and exposing mapped ports to the […]

Posted in Fixes | Tagged , , | 7 Responses

C# compiler error CS0182 when building via TeamCity

When running a build via TeamCity, I started to get the following exception: CSC error CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type The same code built fine in Visual Studio 2012, and nothing had changed on the build server so clearly something […]

Posted in Fixes | Tagged , , | 25 Responses

TeamCity 7 upgrade “failed to install tomcat service”

I was just (somewhat belatedly) upgrading to TeamCity 7.0 from 6.5 on a Windows Server 2008 box when I got an error. I’ve upgraded numerous times in the past without any problem, but this time I got the message “failed to install tomcat service“. I was advised to check my permissions and settings and either […]

Posted in Fixes | Tagged | 5 Responses

TeamCity unable to load changes from Git due to an existing remote

I’ve recently been doing a lot of work in TeamCity, including switching over from SVN to Git (more to come on that in future blog posts). I’ve just had to deal with an odd issue which was entirely my fault but took a bit of head-scratching to figure out. I got the following exception (where […]

Posted in Fixes | Tagged , | Leave a comment

IO.FileNotFound_FileName exception when selecting a file in Silverlight

I don’t know how much this will help people – there’s only 7 results on Google for “IO.FileNotFound_FileName” at the time of writing so it’s clearly not a common problem – but one of our Mac users just reported an issue with selecting a file via a custom Silverlight control. They do this process day […]

Posted in Fixes | Tagged , | 4 Responses