Enable CLR in your SQL Server Settings