We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

add custom assembly

Thread ID:

Created:

Updated:

Platform:

Replies:

130888 Jun 8,2017 01:54 PM UTC Jun 20,2017 02:17 PM UTC Report Platform 8
loading
Tags: Report Designer
Gregory Kohle
Asked On June 8, 2017 01:54 PM UTC

Hi,

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.

Regards,
Patrick



Vinoth Srinivasan [Syncfusion]
Replied On June 9, 2017 11:19 AM UTC

Hi Patrick, 
 
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. 
 
Regards, 
Vinoth S. 


Gregory Kohle
Replied On June 9, 2017 12:32 PM UTC

Hi Vinoth,

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.

Regards,
Patrick

Gregory Kohle
Replied On June 9, 2017 01:04 PM UTC

Hi Vinoth,

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

Attachment: ReportingServices_83979fb0.zip

Vinoth Srinivasan [Syncfusion]
Replied On June 12, 2017 12:06 PM UTC

Hi Patrick, 
 
We are facing problem in establishing connection to the service, refer the below snap shot. 
 
 
 
Could you please help us to clear this issue, so that we can validate this Reporting Service assembly in our report designer. 
 
Regards, 
Vinoth S. 


Vinoth Srinivasan [Syncfusion]
Replied On June 12, 2017 12:06 PM UTC

Hi Patrick, 
 
We are facing problem in establishing connection to the service, refer the below snap shot. 
 
 
 
Could you please help us to clear this issue, so that we can validate this Reporting Service assembly in our report designer. 
 
Regards, 
Vinoth S. 


Gregory Kohle
Replied On June 19, 2017 06:16 AM UTC

Hi Vinoth,

I got it working now.

Regards,
Patrick

Gregory Kohle
Replied On June 19, 2017 06:46 AM UTC

Hi Vinoth,

I got it working using test values.
Now I have an error when trying to pass parameters into the code.
This is the expression for the textbox value:

I get the following error:

Here is the code:

I noticed that the method name is not shown in the error message.
Is there something I have to change to get it to work?
Thanks.

Regards,
Patrick

Vinoth Srinivasan [Syncfusion]
Replied On June 20, 2017 02:17 PM UTC

Hi Patrick, 
 
We were able to process the code module expression with parameter values at our end and we have prepared a simple report based on this. It can be downloaded from the below location. 
 
 
If you still face any issue then we request you to share the custom assembly and report with us to validate the problem. 
 
Regards, 
Vinoth S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;