The text, ntext and image types have been obsolete for many years:
ntext, text, and image (Transact-SQL)[^]:
Important: ntext, text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them. Use nvarchar(max), varchar(max), and varbinary(max) instead.
Change your variable to varbinary(max). You should also change any columns using the text, ntext or image types to their supported equivalents.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer