DevOps Monkey Goodness

Monthly archives for July, 2009

Type datetime2 is not a defined syste...

Type datetime2 is not a defined system type – Entity Framework

Recently I’ve been developing a small application using VS2008 SP1, Entity Framework and SQL Server 2008.  The target server is running Windows Server 2003 and SQL Server 2005.  When I came to deploy my application I scripted the database and data (because you can’t use SQL 2008 backups in 2005) and deployed my application, time […]

ASP.NET MVC Refactoring CSS Includes ...

ASP.NET MVC Refactoring CSS Includes With Helper Methods

In my last refactoring post I demonstrated using the MVCContrib helper extension Html.ScriptInclude to help tidy up jscript files. This time I’ll show you a another MVCContrib helper Html.Stylesheet.  As the name suggests it works in the same way as ScriptInclude but works for css stylesheets. The key to this helper method is sticking with […]

Great Asp.Net MVC Articles

Great Asp.Net MVC  Articles

I came across this today and thought it was a very good list of useful articles: http://www.ajaxline.com/25-plus-best-asp-net-mvc-tutorials-and-articles

CC.Net Source control operation faile...

CC.Net Source control operation failed: svn: File not found: revision

Whilst trying to get my new build server to work I came across this error: ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: File not found: revision 22, path ‘/BuildServers/Trunk/Office/Server’ . Process command: C:\Program Files\Subversion\bin\svn.exe log svn://localhost/BuildServers/Trunk/Office/Server -r "{2009-07-07T10:53:29Z}:{2009-07-07T10:54:13Z}" –verbose –xml –username build.server –password build –non-interactive –no-auth-cache at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications(IIntegrationResult from, IIntegrationResult to) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl […]

CC.Net Unable to find Log Publisher f...

CC.Net Unable to find Log Publisher for project so can’t find log file

After installing CruiseControl.Net 1.4.4 I used one of my projects that was working fine in v1.4.2 but when I tried to kick off the build I received the following error: ThoughtWorks.CruiseControl.Core.CruiseControlException: Unexpected exception caught on server —> ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to find Log Publisher for project so can’t find log file at ThoughtWorks.CruiseControl.Core.Project.GetLogPublisher() at ThoughtWorks.CruiseControl.Core.Project.GetLogDirectory() After […]

CruiseControl.Net (CC.Net) Configurat...

CruiseControl.Net (CC.Net) Configuration Validation Tool

Today I’m installing cc.net v1.4.4, previously I’ve been using v1.4.2 and I noticed since v1.4.3 the introduction of the CruiseControl.Net Configuration Validation Tool.  This handy tool does what it says on the tin, just point it at your config file and it’ll tell you if your file is valid or not!  Also another useful feature […]

Install Subversion On Windows Server ...

Install Subversion On Windows Server 2003

I had a search around for information on installing Subversion on a Windows server and found a few articles but all seemed to be out of date or just didn’t work!  So here’s another step-by-step guide to installing subversion on a Windows Server (I wrote this as I installed so it should be complete!) Note: […]

Using Subversion (SVN) Through a Fire...

Using Subversion (SVN) Through a Firewall

If you want to run Subversion through a firewall you’ll need to open up port TCP port 3690.

Install / Enable Vista Snip Tool

Install / Enable Vista Snip Tool

If you’re looking for the built in Vista snip tool for screen shots you’ll find it nicely hidden away if not installed by default: Go to Control Panel -> Programs -> Turn Windows features on or off -> From the list select Windows Tablet Options Components Hmmmm…..That was obvious!