Hardware Information: CPU-Z
What type of motherboard is in this PC? The other day, I was at a friend’s house. His PC was running slow and wanted to know how he could improve performance. After I perfomed some general clean-up...
View ArticleVisual Studio 2008 and Team Foundation Server 2010
Source I found a nice tutorial on Josip Medved’s blog. I’ve copied the article below for back-up purposes. How to connect VS2008 with TFS 2010 Team Foundation Server 2010 works great when combined with...
View ArticleRaising events without receiving a NullReferenceException
Problem If you don’t place a ‘not null’ condition before raising an event, you might get a NullReferenceException. That’s why we usually type something like: event EventHandler MyEvent; void...
View ArticleMissing region encapsultation with “Implement interface”
Where are my regions? When I implemented my first interface with Visual Studio 2010, I noticed that the implemented methods were not enclosed with the Region directive. Interface implementation without...
View ArticleCreating a MD5 function in SQL Server
The MD5 function When you’re working with hashed passwords, it might be useful to have the MD5 encryption feature in your database. SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO --...
View ArticleAdding Ajax support in ASP.NET MVC 3
Problem I recently started using ASP.NET MVC 3 with the new Razor view engine. Everything looks great and cool at first sight. I tried to implement a simple Ajax postback form, without any success....
View ArticleMailbox unavailable. The server response was: No such user here
The Problem I recently acquired a new Windows hosting space. Everything ran fine and smooth until I tried to sent an E-Mail from my website. I received the following error: Mailbox unavailable. The...
View ArticleKilling active connections in SQL Server 2008
The problem I was trying to “DropCreate” a database using Entity Framework 4.3. Suddenly I get an exception that EF was unable to drop the database. I fired up my SQL Server Mngt Studio and tried to...
View ArticleChanging a TFS server URL in Visual Studio 2010
The problem Recently we’ve changed the extension of the external url of our TFS server. Strange enough Visual Studio doesn’t provide an edit feature in the TFS servers window. Maybe that’s why it’s...
View ArticleResolving SQL Server collation conflicts
The Problem At a customer, I had to gather data from two databases. So I started writing a SQL query that combined data from two databases and wanted to join them on an ID field. Then this popped up:...
View Article