Hi ,
I'm doing an upgrade with a database and lots of companies.
Everything is successful except on the last company that I have this error.
on Codeunit 104055
Functionname:Start Upgrade
Error: A call to System.Data.Sqlclient.Sqlcommand.ExecuteNonQuery failed with this message: incorrect syntax near '-'
Can you please help ?
0
Comments
I had this issue upgrading a client from 5.0 to 2015 earlier this year, from memory it was one of the steps upgrading the Dimensions to the new 2013+ structure. The code was calling SQL directly with .NET I think, and I couldn't work out how to fix it.
In the end, I just removed the '-' from their Company Name and the upgrade went through fine.