Use "Add-Type".
Add-Type -Path "<directrory>.ReportExecution2005.dll
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I try to declare a parameter for Report service rendering using powershell like below
$param=new-object ReportExecution2005.ParameterValue
it throw the error
any hints to add this typedata ?
Use "Add-Type".
Add-Type -Path "<directrory>.ReportExecution2005.dll
Hi @sakuraime ,
What @Rich Matheisen said seems that could resolve your issue, you may have a try.
Also you could refer below for help.
https://stackoverflow.com/questions/12923074/how-to-load-assemblies-in-powershell
Regards,
Zoe
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues October