Collation Conflicts in SQL Server

by Matt 14. December 2011 11:29
I was writing a query that involved a join on two tables in two different databases on the same server. It turns out that the tables had two different collations [More]
Categories: SQL Server

MVC3 Deployment Checklist

by Matt 5. December 2011 11:14
This is more for my reference than anything, but every one in a while I deploy a new MVC 3.0 app that doesn't have the framework installed on the s... [More]
Tags: ,
Categories: .NET | MVC

Exclusive access could not be obtained because the database is in use" when performing a Microsoft SQL 2008 database restore.

by Matt 1. December 2011 10:58
  This error can be a real pain when having to restore backup files between different servers, or even your local machine.  One way to be su... [More]
Categories: SQL Server

Convert String To Proper Case

by Matt 12. October 2011 15:28
It's a piece of code I wish I didn't use nearly as often I did, but because people like to do data entry with CAPSLOCK on, I feel the need to convert it to Proper Case. [More]
Tags: , ,
Categories: .NET | C# | Strings

The type or namespace name 'Script' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)

by Matt 28. September 2011 10:12
I wasted a few minutes of my life today trying to run some code I downloaded online that gave me this error. [More]
Categories: .NET

Long Past Due Project Upgrades

by Matt 14. September 2011 14:59
I spent a great deal of time this weekend upgrading a project from .NET 3.5, MVC 2.0, and ASPX View Engine to .NET 4.0, MVC 3.0, using the Razor view engine, and implemented Telerik's RadControls for ASP.NET Ajax. [More]

Illegal attempt to associate a collection with two open sessions

by Matt 2. September 2011 15:00
Some development I was working on threw an exception moments ago that I had never seen before: Illegal attempt to associate a collection with two open sessions. [More]
Tags: ,
Categories: .NET | ASP.NET | C# | NHibernate

Obout Grid Control

by Matt 7. June 2011 15:20
I’ve been using Obout Grid for a project and I must say it’s a really great control. One issue I encountered though was when I required the ability to have columns auto generated yet still set certain properties on columns should they be included in the grid. [More]
Categories: .NET | ASP.NET | C# | Obout Controls

The Perfect jQuery ToolTip plugin

by Matt 27. May 2011 10:28
TipTip is the perfect jquery tooltip plugin. [More]
Categories: Javascript | JQuery

CRM 4.0 opportunityclose Object

by Matt 5. February 2011 13:30
Programmatically closing an Opportunity object is pretty easy in CRM 4.0, although it took me some time to figure out how to do it correctly. [More]
Tags: , , ,
Categories: .NET | C# | CRM