Articles

Check out the sourcemotion blog for Steve's latest articles on C# web development.

// Value cannot be null error when starting Sql Server Management Studio 2008 R2

Started getting a "Value cannot be null" error dialog after connecting to a local SQL server instance on one of our development servers. It turns out SSMS is looking for a random Temp folder that must have been cleared down at some point. I created the folder C:\Users\Administrator\AppData\Local\Temp\2 and SSMS started working again as expected. Another helpful error message from Microsoft.

Read article

// Steps for setting up a new Umbraco 6.1.6 web project in Visual Studio 2012

Create new empty MVC 4 Application in Visual Studio 2012 Install Core Binaries from Nuget (latest on NuGet is now 7 so need to specify v6.1.6 "Install-Package UmbracoCms.Core -Version 6.1.6") Download the zip of Umbraco 6.1.6 and extract all files into your project folder except App_Code and bin. App_Code isn't relevant to an MVC project and you don't need the bin because the Umbraco

Read article

// Because of a security error, the client could not connect to the remote computer

Because of a security error, the client could not connect to the remote computer. Verify that you are logged onto the network and then try connecting again. Recently I was presented with the above error when attempting to remote desktop to a Windows Server 2008 machine on a client VPN from a Windows Server 2003 virtual machine. The error message suggested a problem with my VPN authentication or

Read article