I have the same issue when I have to set a variable from the result. So, to fix it I have to CAST the result to VARCHAR(300) and the result starts to work.
For example:
Original:
Select
MyId
MyName
From
MyTable
Fix:
Select
MyId
CAST(MyName as AS NVARCHAR(300)) AS MyName
From
MyTable