I trust the missing hack "\" between the server name and @UserID is present in your working code.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.