Dynamics Community,
I've been searching for information about the differences in using the .NET Variable System.XML version 2.00 vs version 4.00 and which variable version is compatible with what .NET Framework Version. This info has come to our attention because we were having a lot of issues consuming web services in a Dynamics NAV 2013 R2, Windows 7, .NET Framework 4.6.1 enviroment.
The main issue presented was that we were having the following error A call to System.Xml.XPathNodeList.SelectSingleNode failed.... on that enviroment. The same codeunit was working fine in an enviroment with .NET Framework 4.5. In both enviroments we where using the .NET Variable System.XML Version 2.00 then we found out that there was a newer version of that System.XML variable (v. 4.00) so we made the switch on the codeunit running on the .NET Framework 4.6.1 and the errors disappeared.
Is there any documentation on any bugs or when to use the version 2.00 vs 4.00?
*This post is locked for comments