SSRS Report throwing #Error when attempting to convert RTF to Text using Code-Behind

After upgrading from sql2008 to sql2014, the code-behind of the rdl report used to convert RTF to Text was failing and displaying #Error instead of the converted text. There are numerous reasons this can happen, but for me, it was …