Restore failed for Server ./SQLEXPRESS

A wise man once told me: “The quatilty of your life is directly proportional to the quality of your backups”. I have come to respect this advice greatly. A few weeks ago my dedicated server went down. The incompitent tech support at AIT was unable to get it working again. It took them 16 days to decide the drive was toast. All data was lost.  Luckily I was somewhat prepared and had been...

February 12th, 2009 by B.Harding 

Fun with site migration

Here is my latest headache: Server Error in ‘/’ Application. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance...

February 11th, 2009 by B.Harding 

Operator ‘==’ incompatible with operand types ‘Int32’ and ‘Object’

I had this error pop up on me recently. Operator ‘==’ incompatible with operand types ‘Int32’ and ‘Object’ I had an good grasp on why but the stack track would not tell me where! The issue is that a null object was being used in a where clause somewhere. Linq translated the null as “” and could not be compared the the ID field which is an int. My solution...

February 5th, 2009 by B.Harding