SQL Server Performance Forum – Threads Archive
Custom Assemblies
Hi, As part of my investigation into Reporting Services I’m looking at custom assemblies, but having tried to follow the help I’m a little stuck on how to get it to work within my report. 1) I have created my assembly and copied an instance of it to both the C


After playing some more it seems the Microsoft help is just plain lying, probably written against a much earlier version. Basically none of the config changes are required, you simply copy the assembly to both the Server/Designer locations, add a reference in the report, and simply call as outlined in the help and it actually works, grrrrr Microsoft documentation [<img src=’/community/emoticons/emotion-6.gif’ alt=’

JEGBIE,
I read your posted message on SQL-Server-Performance.com about referencing custom assemblies from MS Reporting Services and I did just as you did by editing both the config files specified in the MSDN help, RSReportServer.config and RSReportDesigner.config, and added the <CustomAssemblies> element to both files. I then browsed to the file in the bin folder inside the report server folder. I also did not add a the class name and intance because the help says its not necessary. Then, on the Layout page I typed in the text box Namespace.Class.Method(Fields!EnteredBy.Value). When I run the report, the field resolves in an error where the new value should exist. I get the error "[BC30469] Reference to a non-shared member requires an object reference."
I saw that you resolved this, but I am not sure what you did. I am new with MS Reporting Services and I am struggling finding the problem. CAN YOU HELP!
Thanks,
DON
[V]
]]>