Custom StiDatabase does not work

Stimulsoft Reports.Silverlight discussion
Locked
flip
Posts: 23
Joined: Mon Dec 12, 2011 10:47 am

Custom StiDatabase does not work

Post by flip »

Hello,
I have created a subclass of StiSqlSource, to add some custom behaviour to the Silverlight Reports Designer (Client-Server).
I created this class on the silverlight side, and on the .NET side.

I added it to the StiDatabase services collection.
This works well.
I am able to see this report on the design side, and add connections with this new type, retrieve its tables and so on.

However when I try to preview this report, it says that the namespace where it is placed is not found. The namespace is Test.Databases. The error says that the namespace 'Test' is not found.
Is it possible to add this reference to the compiler that compiles the generated report code?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Custom StiDatabase does not work

Post by HighAley »

Hello.

How do you try to preview your report?

Thank you.
flip
Posts: 23
Joined: Mon Dec 12, 2011 10:47 am

Re: Custom StiDatabase does not work

Post by flip »

Hello Aleksey,
I preview the report with the Preview tab in the designer.
I managed to tackle this problem, by adding the assemblies to the ReferencedAssemblies collection of the Report instance, on the server side.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Custom StiDatabase does not work

Post by HighAley »

Hello.

Good. Let us know if you will need any additional help.

Thank you.
Locked