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