I just installed SQL Source Control EAP 1.1.0.11 and tried to add a database to our team server. After committing the changes I received the following error:
#oEc.#8Jf: Errors occured whilst parsing file C:\Users\danny\AppData\Local\Red Gate\SQL Source Control 0\Transients-TFS\ae8a33f1-d80e-4c6b-a86f-1b9076626d12\Tables\dbo.E_Sold_Policies.sql
'line 56:41: expecting "on", found '[dbo]''
'line 57:18: unexpected token: [",",<641>,line=57,col=18] [char=4283]'
'line 57:18: unexpected token: [",",<641>,line=57,col=18] [char=4283]'
'line 58:3: unexpected token: ["AS",<638>,line=58,col=3] [char=4293]'
'line 58:3: unexpected token: ["AS",<638>,line=58,col=3] [char=4293]'
---> #Eyg.#Lyg: Errors occured whilst parsing file C:\Users\danny\AppData\Local\Red Gate\SQL Source Control 0\Transients-TFS\ae8a33f1-d80e-4c6b-a86f-1b9076626d12\Tables\dbo.E_Sold_Policies.sql
'line 56:41: expecting "on", found '[dbo]''
'line 57:18: unexpected token: [",",<641>,line=57,col=18] [char=4283]'
'line 57:18: unexpected token: [",",<641>,line=57,col=18] [char=4283]'
'line 58:3: unexpected token: ["AS",<638>,line=58,col=3] [char=4293]'
'line 58:3: unexpected token: ["AS",<638>,line=58,col=3] [char=4293]'
---> line 56:41: expecting "on", found '[dbo]'
--- End of inner exception stack trace ---
at #oEc.#7Jf.#t.#B3.#sKf()
at #oEc.#7Jf.#gKf(Action action)
--- End of inner exception stack trace ---
Server stack trace:
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperation.#t.#izb.#j5f()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at RedGate.SQLSourceControl.CommonUI.Forms.ErrorDialog.DoWithObviousExceptionsThrowAll(Action action)
at #JLc.#PLc.#CTc(ICancellableOperation`1 operation, Object token)
I just installed SQL Source Control EAP 1.1.0.11 and tried to add a database to our team server. After committing the changes I received the following error:
Failed to update:
I located the mentioned file and found at line 56 the following:
I hope you can fix this.