Internet Sellout

Demand Unearned Rewards

.NET 4.5.1, IE 11, IIS 8 - oh my

This is not going well... The page size of had increased when comparing to 2008 R2 IIS 7.5 ASP.NET 4.0 C:\Windows\System32\Inetsrv\Appcmd.exe set config -section:httpCompression -[name='gzip'].staticCompressionLevel:9 -[name='gzip'].dynamicCompressionLevel:4  All of a sudden... [More]

Moving MSSQL Databases to Different Partition

I just moved from one Rackspace cloud server to another. The main purpose was to get IIS 8 so I could do TLS/SNI. I got a skimpy partition for the system and the preinstalled SQL Server Web Edition databases were taking up precious space so I moved them with help from this article: http://technet.m... [More]

Tally Ho

CREATE FUNCTION [dbo].[ufn_TallyHo] (@quantity int) RETURNS TABLE AS RETURN( with cte(tally)as(select 1 union all select tally + 1 from cte where tally < @quantity)SELECT tally FROM cte ) I found a table at work called Tally that was a list of numbers. I thought it was sad until I needed ... [More]

Kill Process By User SID VB.NET

I see a few C# Versions of this on the web. Here is a VB version. Private Shared Function ProcessKillByOwnerSID(sProcessName As String, sSID As String) As Integer Dim oProcesses() As Process = System.Diagnostics.Process.GetProcessesByName(sProcessName) Dim i As Integer = 0 ... [More]

Back Up System State to Nas Share - Windows 7, 8 and Server 2012

The backup operation that started at '‎2013‎-‎03‎-‎04T04:34:27.113260900Z' has failed with following error code '0xC03A0005' (The version does not support this version of the file format.). Please review the event details for a solution, and then rerun the backup operation once the issue is resolved. [More]

Red Meat

Alameda County Line Use the above myspace link to listen to a lovely tune by Red Meat. Below is some fantastic advice I got from here. ^M is DOS line break charater which shows up in unix files when uploaded from a windows file system in ascii format.To remove this, open your file in vi editor a... [More]