I got this unhandled exception - the problem is reproducible with a long query I have (give me a redgate mail address to forward, I just don't have time to reproduce in a simpler way):

"The supplied name must contain a non-empty object name.
'zioni.dbo.CostoTrasporto_CentriCosto c1 ON c1.' is an invalid name.
Parameter name: name.


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: The supplied name must contain a non-empty object name. 'zioni.dbo.CostoTrasporto_CentriCosto c1
ON c1.' is an invalid name.
Parameter name: name
at RedGate.Util.EventHandlerSet.Fire(Object eventKey, Object sender, EventArgs args)
at RedGate.Util.EventHandlerSet._1.Fire(Object eventKey, Object sender, EventArgs args)
at _43._1(CaretPosition , CaretPosition )
at _43.set_CaretPosition(CaretPosition value)
at RedGate.SqlPrompt.Engine.SqlPromptEngine.set_CaretPosition(CaretPosition value)
at _12._4(Object , EventArgs )
at _10.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
marcorusso
0

Comments

1 comment

  • Tilman
    Hi,

    Thanks for the feedback. Could you pm me the query? (Click 'PM' at the bottom of my reply. Only I will be able to view your post.)

    Thanks,

    Tilman
    Tilman
    0

Add comment

Please sign in to leave a comment.