Results 1 to 1 of 1
Thread: CustomReportItem for SSRS?
April 25th, 2012, 04:01 AM #11Registered User
CustomReportItem for SSRS?
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 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.
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?
Last edited by panda920; May 29th, 2012 at 03:06 AM.