Fix / restore user and login mappings in SQL Server

0 Comments

If you restore a SQL Server (< 2012) database on an other database server make sure you fix the user and login mappings by following the steps on http://atakala.com/browser/Item.aspx?user_id=amos&dict_id=2036 Short fix: use MyDatabase go sp_change_users_login

Convert string to bytes and bytes to string without encoding

0 Comments

I wanted to save information found in a file to a database without having to deal with encodings, well I found my solution at http://stackoverflow.com/questions/472906/net-string-to-byte-array-c-sharp       [TestClass] public class RliResearchTester { [TestMethod] public void

Microsoft TechEd Europe 2012

0 Comments

After every Microsoft TechEd, I am overwhelmed by the new possibilities. Microsoft TechEd Europe 2012 in Amsterdam was no exception. You always learn new stuff, things you didn’t know they exists or hints to which