Invalid access to memory location. (Exception from HRESULT: 0x800703E6) in Microsoft.SqlServer.Replication

My team use the Sql Server 2005 Replication feature in order to synchronize between databases in different enviornments. One of the strange things though, is that the reference to Microsoft.SqlServer.Replication generated a weird “Invalid access to memory location. (Exception from HRESULT: 0x800703E6)” Error. After a quick google search I found this link which offers a nice workaround (this seems to be VS.NET 2005 bug) which worked for several folks out there but unfortunately it didn’t work for me. The search continues…