This is a migrated thread and some comments may be shown as answers.

WCF Service and Report DLLs

1 Answer 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeremi
Top achievements
Rank 1
Jeremi asked on 13 Jun 2011, 01:56 PM
Hi, I have created a self hosted WCF Report service.  I have a number of DLLs containing my report definitions.  How do I get the WCF service to register the Reports avaiable so that i may obtain a list of the reports via the "ListAvailableReports" operation ?.

At this stage i have placed the DLLS in the same folder as the WCF service but they are not processed in any way nor available by means of the list operation or display in a Silverlight viewer.

Thanks
Andre 

1 Answer, 1 is accepted

Sort by
0
Jeremi
Top achievements
Rank 1
answered on 14 Jun 2011, 04:19 AM
OK,

Solved it myself ...

Remember to add the following to your self hosted WCF service config file

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="Your Report Dll Folder(s)" />
    </assemblyBinding>
</runtime>
Tags
General Discussions
Asked by
Jeremi
Top achievements
Rank 1
Answers by
Jeremi
Top achievements
Rank 1
Share this question
or