Archive for June, 2009

is operator + object casting or as operator + null comparison?

This week I found in the source code of one of our projects that people use “is” operator + object casting in places that they can use “as” operator + null comparison.

1: // "is" operator + object casting

2: if (myObj is MyObject)

3: {

4: [...]

SQL Server Setup failed to obtain system account information for the ASPNET Account….

Today, during installation of MS SQL Server 2005 DE on my new work machine i ran into an installation error that stated “SQL Server Setup failed to obtain system account information for the ASPNET Account.To proceed, reinstall the .Net Framework, and then run SQL Server Setup again.”. And it even offer me to reinstall the [...]