Hi,
I guess that you ran this sample with VSTS debugger attached and enable break when hitting Exception. I believe this exception is an temporary internal exception, if you let the app to continue in your debugger, it will handle this exception silently and
continue.
There is not XmlSerializers in the Microsoft.Data.SqlServer namespace. It is the .net looks for the default class to handle serialization.
Thanks,
Dong
This posting is provided AS IS with no warranties, and confers no rights.