How do I programatically determine which port a SQL Server is running on?/*Wrapper script for xp_readerrorlogAuthor: Ralph WillgossDate: 2nd Oct 2012This script cycles through all logs files, looking for the listening port.Normally you have to specify the log file one by one, the script removes the need for that.Param ref for: xp_readerrorlog1. Value ......

When debugging with Visual Studio 2010, you may find that you can't attach to the aspnet_wp.exe process as its greyed out. One solution is to look at the Debug Diagnostic Services, it may be automatically starting and creating new instances of DbgHost.exe – leading VS to think a debugger was already attached. Disabling this service should fix the problem ......

I heard Owen Rogers on HanselMinutes and thought I would create a tutorial to show how easy it is to setup CruiseControl.Net as a continuous monitoring server. My tutorial goes into how to schedule CruiseControl.Net to run at certain times and how to incorporate output from a monitoring program in the build report page for easy viewing for all. You ......

If you install Resharper 3.0.x and discover that Visual Studio 2008 Beta 2 hasn't recognised it, you need to run the install again with a few special command line arguments: C:\WINDOWS\system32\msiexec... /i <full path to installer file>.msi VSVERSION=9 ......

I recently rebuilt a dev machine and was trying to install .Net 1.1 and got the following error: Error: internal error 2709 feature GUID for use by Cartman It apparently happens when something goes wrong or you have an aborted installation of .Net 1.1 framework. The fix for this can be downloaded from this address: http://astebner.sts.winisp.... ......

I've just completed a small ebook/tutorial titled Setting up an ASP.NET Website Development environment using Visual Studio .NET, Subversion and Windows XP [Link updated 23/08/2006] which you can find here [Link updated 23/08/2006]. It covers the following topics:Setting up IIS 5.1 on Windows XPSetting up Visual Studio .NET 2003 for debuggingInstalling ......

Hi, I've now moved the Development environment HowTo to the Code Project. The old site will cease to exist in a few days. You can access the new article here http://www.codeproject.com/... Unfortuneately the formatting hasn't ported over very well to the code project style, I will take some time to amend this so its easier to read ......