unexpected token - where is it?
GSS
Posts: 10 Bronze 1
in SQL Compare
I have an error when trying to perform a SQL Compare of two Azure SQL Server databases. This is making it impossible to perform any compare of them.
unexpected token: ["Window",<1392>,line=23,col=49] [char=739]
The fact it's line 23 suggests something at the very start, but, using SQL Search I cannot find anything where this may be.
Is there anyway to see the text that the error refers to, so I might actually have an idea what line 23 is? Thanks.
unexpected token: ["Window",<1392>,line=23,col=49] [char=739]
The fact it's line 23 suggests something at the very start, but, using SQL Search I cannot find anything where this may be.
Is there anyway to see the text that the error refers to, so I might actually have an idea what line 23 is? Thanks.
Tagged:
Answers
I'm sorry to read you've hit this issue. What db object type is Window please?
It's distinctly possible that the exception is occurring on corresponding attributes and we'd need to look at your code to isolate it.
We can do this in a support ticket if you're not comfortable sharing your schema in a public location, just let us know.
There is a table column called "Window", but removing this table from the compare, and the database itself, makes no difference to the error.
Otherwise "windows" appears in the Azure SQL server name. (As is the case with most Azure servers.)
This is an error that appears even after I narrow the comparison down to just one table, with the 'Ignore' option checked for everything. It appears during the "comparing databases" part.
Sorry I can't provide a more satisfactory resolution.
Sorry report that error is back. It seems to be almost random. Some days it does not occur, others it does. And not related to any particular database. The error itself is identical whenever it appears. But once it does appear, nothing works for the remainder of the day.
Where can I upload my log?
Thanks.