I tried to add a custom assembly to the report designer. Here are the screens for the assembly and the custom code to use the assembly.
The namespace of the dll is the same like the name. Classname is Services. The class and the methods are all static. All I get is a #Error in the textbox I try to call the dll. Is there something I have to change to get it to work. Thanks.
VSVinoth Srinivasan Syncfusion Team June 9, 2017 11:19 AM UTC
Thanks for your interest in Syncfusion components.
We suspect the error occurs because of the custom assembly you have referred is not copied to the installed location of report designer. So, we request you to copy your custom assembly to the installed location of the report designer. If you still face any error then we request you to update the custom assembly with us. It will be helpful for us to validate the problem at our end.
GKGregory KohleJune 9, 2017 12:32 PM UTC
thanks for your respone, you were right. Now I´m facing a problem when I try to connect to a windows service from the DLL. This works via my test application but in the report it says #Error. Is this not possible to do in a custom DLL when adding them to a report? Thanks.
GKGregory KohleJune 9, 2017 01:04 PM UTC
I attached the DLL project so you can check wheter there is an error when you try to connect to a service via a custom dll. Thanks. Regards, Patrick