There is a old application that I have added some new code/methods and it talks to a SQL Server 2000 database. I have made some changes and compiled it with .Netv4.5 without changing any old methods. New methods required new version of .net
In an old method in the application, it inserts some XML data into a TEXT type column in a table. it was fine before I compiled it with new version but now it appends '?' char in the beginning of the XML string. for e.g. if the string was starting with
<?xml version="1.0" encoding="utf-8"?>
it will insert
?<?xml version="1.0" encoding="utf-8"?>
which is causing issues when reading the XML from the db table.
I have looked around a bit, I initially thought that it was oledb that is causing the issue (don't know much about oledb), but I have tried LINQ without any luck.
I have checked the command before it hits the database, the data was fine but on the profiler the insert command is executed with the extra '?' char
Any quick tip to fix it is appreciated.