128 is the maximum length of an identifier in SQL Server 7.0. SQL Server thinks you're refering to a column or variable, not passing a string.
It is interesting that your friend didn't have the same problem. Be careful with QUOTED_IDENTIFIER. It is one of the few connection settings that cannot be changed within a stored procedure.
-Mike