The user has tried to call a user-defined routine function in a ROW or COLLECTION constructor for a client collection or row host variable. Check the syntax of the statement and change the statement so that it does not call a user-defined routine. User-defined routines can be executed only on the server.