The Blog
Exploration Of Thought
Thoughts on autonomy, self direction, digital business and life.
Handling unexpected exceptions and tracing
How to catch unhandled ASP.NET errors globally with Application_Error, log them via trace listeners, and stop leaking YSOD details to users.
Donn Felker – April 1, 2007
ASP.NET HOWTO: Enable Default Enter Button in ASP.NET 2.0
How to make the Enter key submit an ASP.NET 2.0 form: set the HtmlForm's DefaultButton property instead of writing custom JavaScript.
Donn Felker – March 29, 2007
Overcomplicating simple things – ASP.NET AJAX Confirmation Button Extender
The ASP.NET AJAX ConfirmButtonExtender does the same job as a one-line OnClientClick confirm() call, just with a lot more overhead.
Donn Felker – March 28, 2007
error CS0030: Cannot convert type (Login.master)
CS0030 'cannot convert type' error after precompiling? Don't name your master page code-behind class Login - it collides with ASP.NET's own class.
Donn Felker – March 27, 2007
IIS 7 – This configuration section cannot be used at this path.
Fixing IIS 7's 500.19 configuration lock error by changing overrideModeDefault to Allow in applicationHost.config, or unlocking it via appcmd.
Donn Felker – March 26, 2007
Using Excel to help with Data formatting (SQL Scripts)
How to use Excel's LEFT, MID, RIGHT, and SEARCH functions to turn messy copy-pasted address data into ready-to-run SQL INSERT scripts.
Donn Felker – March 23, 2007
HOWTO: Build a Store Locator in ASP.NET
A full ASP.NET store locator: geocoding addresses with the Google Maps API, a SQL distance calculation, and downloadable source code.
Donn Felker – March 17, 2007

HOWTO: Debugging JavaScript using “debugger;”
How to debug JavaScript inside Visual Studio using the debugger keyword, plus the Internet Explorer settings you need to flip to enable it.
Donn Felker – March 15, 2007
Notepad++ Shortcuts – Vista 64bit Update
My old XP registry trick for launching Notepad++ by typing n broke on Vista x64, so here's the updated reg file plus shell integration.
Donn Felker – March 14, 2007
C# Google Geocode (Latitude and Longitude) Class
A free C# class for geocoding US, Canadian, and European addresses into latitude and longitude using the Google Maps API, with code and download.
Donn Felker – March 13, 2007

aspnet_wp.exe could not be started?
Getting aspnet_wp.exe could not be started with error 80070545? Check which .NET Framework version is actually configured to run the app pool.
Donn Felker – March 12, 2007
Open Source .NET Wiki
ScrewTurn Wiki is a GPL, medium-trust-friendly open source .NET 2.0 wiki that needs just IIS and one writable folder, no SQL Server required.
Donn Felker – March 11, 2007