Using dll's in SSRS
I am grabbing a bunch of fields from a database for use in an SSRS report. One of these fields is encrypted in the database. I have a class designed in VB.NET that takes a byte() (array of byte) type and decrypts this value to return an interger.

I have imported the dll for this class (along with all other project dependencies). Since I am in the debugging phase right now I have also copied these dll's to 
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies" for use (which is dependent upon the file location you choose upon installation)

When trying to display the decrypted value or the encrypted field in the report table i am designing I am trying to use an expression using the encrypted field. The decryption method in the class i am trying to use is a static ( or shared in VB.NET) method so in expression I am qualifying the namespace.class.method({args}) like ....

    =namespaceCryptography.Cryptography.Decrypt(Fields!FederalTaxID.Value)
     

When I try to run this report I get an error saying "The value expression for the textrun 'FederalTaxID.Paragraphs[0].TextRuns[0]' contains an error: [BC30201] Expression expected.

I also notice that if I try to display 
    =Fields!FederalTaxID.Value" 

I get an #Error as a value in the field. I am assuming there is a problem with returning a data type of byte() (byte[] for our c# people) but am having trouble trying to find a true solution or root of the problem. 

Any ideas out there?
Using dll's in SSRS
===

I am grabbing a bunch of fields from a database for use in an SSRS report. One of these fields is encrypted in the database. I have a class designed in VB.NET that takes a byte() (array of byte) type and decrypts this value to return an interger.

I have imported the dll for this class (along with all other project dependencies). Since I am in the debugging phase right now I have also copied these dll's to 
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies" for use (which is dependent upon the file location you choose upon installation)

When trying to display the decrypted value or the encrypted field in the report table i am designing I am trying to use an expression using the encrypted field. The decryption method in the class i am trying to use is a static ( or shared in VB.NET) method so in expression I am qualifying the namespace.class.method({args}) like ....

    =namespaceCryptography.Cryptography.Decrypt(Fields!FederalTaxID.Value)
     

When I try to run this report I get an error saying "The value expression for the textrun 'FederalTaxID.Paragraphs[0].TextRuns[0]' contains an error: [BC30201] Expression expected.

I also notice that if I try to display 
    =Fields!FederalTaxID.Value" 

I get an #Error as a value in the field. I am assuming there is a problem with returning a data type of byte() (byte[] for our c# people) but am having trouble trying to find a true solution or root of the problem. 

Any ideas out there?