Posts

Showing posts from April, 2008

A SIMPLE .NET Subversion Trigger

Image
This latest post finds me on my continued Subversion kick. Having checked out the wonderful, yet not quite mature enough Mercurial and the possibly wonderful but completely painful windows experience of GIT, i'm sticking with Subversion as my Visual SourceSafe replacement of choice. This week I have mostly been playing with Subversion hooks- an extremely simple and powerful trigger mechanism used when checking items in or out of a subversion database. For those who do not know, each subversion database contains a 'hooks' folder in which files exist for pre and post commit/lock/property change/unlock events. Harnessing this hooking mechanism is as simple as creating a file and giving it, for instance the filename 'pre-commit'. The true beauty (i'm sure i mentioned this before) is that the extension doesnt matter - you can use an exe, a batch file, a .pl file etc. etc. and, as long as your filename falls into the pre-defined list, your hook is guaranteed to run on

The service could not bind instance 1

In work this morning I attempted to fire up Visual Studio with an ASP.NET application I hadn’t used in a while only to receive an error message stating that the project could not be mapped to an IIS application. Looking deeper I found that the application did indeed exist, but IIS was not behaving nicely – a big STOP sign replacing my normally very pleasant default web site icon. The Event Viewer should the following error: Event Type: Error Event Source: W3SVC Event Category: None Event ID: 115 Date: 4/15/2008 Time: 10:13:31 AM User: N/A Computer: MYPC Description: The service could not bind instance 1. The data is the error code. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Data: 0000: 40 27 00 00 @&