by admin | Jan 9, 2016 | C# .Net
Scenario Domain Controllers: Windows 2012 R2, Windows 2008 R2 After upgrading the 2012 R2 system from 2008 R2 to 2012 R2, the following C# .Net code might raise an IdentityNotMappedException or TypeInitializationException: private static ArrayList ADGroups = new...
by admin | Jan 7, 2016 | C# .Net
By default, MS Visual Studio debugging message does not show useful details if e.g. the Fill() method of a DataSet/DataTable causes a ConstraintException . Especially if your table has a lot of columns, indexes, foreign keys etc., finding the cause can take a long...
by admin | Dec 22, 2015 | C# .Net
Code version tool Subversion might show various version conflicts if you use the repository on multiple machines. This can even happen if no code is changed. In this case it can be quite annoying, as it does not make any sense for the user. Solution Add the following...
by admin | Nov 24, 2015 | Administration, C# .Net
Scenario E.g. from December 2015 to January 2016, there can be different starts of the week numbering in different countries. In Austria, week number one is the “first 4-day week”, which is similar to Germany. But if you use any .Net software or have...
by admin | Oct 23, 2015 | C# .Net
Unfortunately, there is not much documentation regarding the AsterNet library, so the code snippet below might help someone who simply wants to abort an incoming or outgoing call, e.g. via a C# .Net button. Basically this is quite simple, you only have to remember the...
by admin | Sep 22, 2015 | C# .Net
Trying to install Lync 2010 SDK for Visual Studio 2013 Pro, an error regarding installation requirements appears: It requires Visual Studio 2008 SP1 (or higher). But it seems like VS2013 is not recognized by the installer. Lync 2013 SDK does (partly) not work with...