# CustomReportItem for SSRS?

**URL:** <https://forum.kirupa.com/t/customreportitem-for-ssrs/328188>\
**Category:** flash\
**Created:** [April 25, 2012, 8:01am UTC](https://forum.kirupa.com/t/customreportitem-for-ssrs/328188 "2012-04-25T08:01:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![panda920](https://avatars.discourse-cdn.com/v4/letter/p/b3f665/32.png) [@panda920](https://forum.kirupa.com/u/panda920)\
**Post date:** [April 25, 2012, 8:01am UTC](https://forum.kirupa.com/t/customreportitem-for-ssrs/328188/1 "2012-04-25T08:01:18Z")

</div>

[FONT=inherit]Is there any way to use a WPF UserControl as a CustomReportItem for SSRS? In the draw method I’d like to create an instance of the WPF control and render it as a visual brush. The only problem is that WPF control can only be instanced in an STA environment. Creating a new [callaway x24 irons](http://www.golfbestprice.org/callaway-x24-hot-irons-p-82.html) in the STA environment in order to create the control works in VisualStudio, but deployed to the SQL Server, almost every time the thread starts in MTA mode - even though it was set to STA before it started.[/FONT]  
[FONT=inherit]I know that starting an STA thread in an SQL Server context shouldn’t be possible anyway - but is there really no solution for this problem?

:(:(:(:(:([/FONT]
